blob: b5d6d1cc19b03540a618a5f328d4d54c04966646 (
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
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=2
SLREV=1
inherit gnome2-utils
DESCRIPTION="Colorized icons shared between all gnome-colors iconsets"
HOMEPAGE="http://code.google.com/p/gnome-colors/"
SRC_URI="http://gnome-colors.googlecode.com/files/gnome-colors-${PV}.tar.gz
branding? ( http://pkg2.rogentos.ro/~noxis/distro/${CATEGORY}/fdo-icons-rogentos${SLREV}.tar.gz )"
LICENSE="GPL-2 public-domain"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+branding"
RDEPEND="x11-themes/gnome-icon-theme"
DEPEND=""
RESTRICT="binchecks strip"
src_prepare() {
if use branding; then
cp -r fdo-icons-rogentos/* ${PN} || die "Rogentos branding failed"
fi
}
src_compile() {
einfo "Nothing to compile"
}
src_install() {
dodir /usr/share/icons
insinto /usr/share/icons
doins -r "${WORKDIR}/${PN}" || die "Installing icons failed"
dodoc AUTHORS ChangeLog README
}
pkg_preinst() {
gnome2_icon_savelist
}
pkg_postinst() {
gnome2_icon_cache_update
}
pkg_postrm() {
gnome2_icon_cache_update
}
|