# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-themes/icewm-themes/icewm-themes-0.0.1-r1.ebuild,v 1.4 2005/09/19 13:41:42 gustavoz Exp $ DESCRIPTION="Collection of IceWM themes" HOMEPAGE="http://www.icewm.org/ http://themes.freshmeat.net/projects/icecrack/ http://themes.freshmeat.net/projects/icebox/ http://themes.freshmeat.net/projects/cyrusicewm/ http://themes.freshmeat.net/projects/greyscaled/ http://themes.freshmeat.net/projects/ufosightings/ http://themes.freshmeat.net/projects/1in1-xp/" THEME_URI="http://download.freshmeat.net/themes" SRC_URI="${THEME_URI}/icecrack/icecrack-default-2.0.0.tar.gz ${THEME_URI}/icebox-red/icebox-red-default-1.2.13.tar.gz ${THEME_URI}/cyrusicewm/cyrusicewm-1.0.0.tar ${THEME_URI}/greyscaled/greyscaled-stable.tar.gz ${THEME_URI}/ufosightings/ufosightings-1.0.0.tar.gz ${THEME_URI}/1in1-xp/1in1-xp-default.tar.gz" SLOT="0" # icecrack, icebox, cyrus-icewm, ufosightings -> GPL-2 # greyscaled -> Public Domain # 1in1-xp -> freedist LICENSE="GPL-2 public-domain freedist" KEYWORDS="~x86 ~ppc amd64 sparc" IUSE="" RDEPEND="x11-wm/icewm" S="${WORKDIR}" src_unpack() { unpack ${A} cd ${S} find . -name \.xvpics | xargs rm -rf find . -name \*~ | xargs rm -rf } src_install() { local ICEWM_THEMES=/usr/share/icewm/themes dodir ${ICEWM_THEMES} cp -dpR * ${D}/${ICEWM_THEMES} chown -R root:root ${D}/${ICEWM_THEMES} #chmod -R o-w ${D}/${ICEWM_THEMES} rm -f ${D}/${ICEWM_THEMES}/Crus-IceWM/cpframes.sh || die find ${D}/${ICEWM_THEMES} -type d | xargs chmod 755 || die find ${D}/${ICEWM_THEMES} -type f | xargs chmod 644 || die } pkg_postinst() { einfo "Themes created by: Sawsedge, david_bv, tal256, adisk, fagga and Josh Rush." }