You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
calculate-overlay/media-gfx/cmc-themes/cmc-themes-11.0-r4.ebuild

36 lines
925 B

# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit calculate
DESCRIPTION="The theme for Calculate Media Center"
HOMEPAGE="http://www.calculate-linux.org/calcualte-cds-themes"
SRC_URI="ftp://ftp.calculate.ru/pub/calculate/${PN}/${P}.tar.bz2"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
RDEPEND="!media-gfx/calculate-cds-themes
media-gfx/splashutils
>=sys-apps/calculate-templates-2.2.1-r6"
DEPEND="${RDEPEND}"
src_install() {
insinto /
doins -r .
}
pkg_postinst() {
local initrdfile=$(calculate_get_current_initrd)
local initrdinstallfile=$(calculate_get_current_initrd -install)
[[ -f ${ROOT}${initrdfile} ]] &&
calculate_update_splash ${ROOT}${initrdfile}
[[ -f ${ROOT}${initrdinstallfile} &&
"${ROOT}${initrdinstallfile}" != "${ROOT}${initrdfile}" ]] &&
calculate_update_splash ${ROOT}${initrdinstallfile}
}