blob: abb9a55b32564575a5477ba7fa18dbc6d91742d3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# Copyright 1999-2008 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.11 2008/02/19 02:12:31 ingmar 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"
# icecrack, icebox, cyrus-icewm, ufosightings -> GPL-2
# greyscaled -> Public Domain
# 1in1-xp -> freedist
LICENSE="GPL-2 public-domain freedist"
KEYWORDS="amd64 ppc sparc x86"
SLOT="0"
IUSE=""
RDEPEND="|| ( x11-wm/icewm
=kde-base/kdeartwork-icewm-themes-3.5* )"
DEPEND=""
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} || die
cp -pR * "${D}"/${ICEWM_THEMES} || die
chown -R root:0 "${D}"/${ICEWM_THEMES} || die
#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."
}
|