blob: 548f8e86a8852b1bd9e320b24690d1b4f1950a33 (
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
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-themes/gartoon/gartoon-0.5-r2.ebuild,v 1.4 2007/06/30 09:29:50 drac Exp $
DESCRIPTION="Gartoon SVG icon theme"
SRC_URI="http://zeus.qballcow.nl/icon/paket/${P}.tar.gz"
HOMEPAGE="http://zeus.qballcow.nl/?page_id=15"
LICENSE="GPL-2"
IUSE=""
KEYWORDS="amd64 ~ppc sparc ~x86"
SLOT="0"
RESTRICT="binchecks strip"
S="${WORKDIR}/${PN}"
MY_DEST="/usr/share/icons/${PN}"
src_unpack() {
unpack ${A}
sed -i -e "s:\(^pixmap_path\) \(\".*\"$\):\1 \"${MY_DEST}/scalable/stock\":" \
"${S}"/scalable/stock/iconrc
}
src_install() {
insinto ${MY_DEST}
doins gartoon-pallete.svg index.theme scalable/stock/iconrc
dodoc AUTHORS README scalable/stock/changelog_mula.txt
for dir in apps devices emblems filesystems mimetypes stock; do
cd "${S}"/scalable/${dir}
insinto ${MY_DEST}/scalable/${dir}
for svg in *svg; do
doins ${svg}
done
done
cd scalable/apps
dosym gnome-lockscreen.svg ${MY_DEST}/scalable/apps/xfce-system-lock.svg
dosym control-center2.svg ${MY_DEST}/scalable/apps/xfce-system-settings.svg
dosym gnome-logout.svg ${MY_DEST}/scalable/apps/xfce-system-exit.svg
dosym mozilla-firefox.svg ${MY_DEST}/scalable/apps/firefox-icon.svg
dosym gnome-globe.svg ${MY_DEST}/scalable/apps/firefox-icon-unbranded.svg
}
|