summaryrefslogtreecommitdiff
blob: 0be7681f02ddbdc86f9ccd6770903963407fdc11 (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
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

GCONF_DEBUG="no"
inherit gnome2 versionator

MY_PN="icons-xfce-gant"
MY_PV=$(replace_version_separator 2 '-' )

DESCRIPTION="The amazing Gant icon set for Xfce 4.x"
HOMEPAGE="http://www.xfce-look.org/content/show.php/GANT?content=23297"
SRC_URI="http://tshirt.starsurvivor.net/tmp/${MY_PN}-${MY_PV}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RESTRICT="binchecks strip"

DEPEND=""
RDEPEND=""

S=${WORKDIR}/Gant.Xfce

src_unpack() {
	unpack ${A}
	mv "Gant Xfce" Gant.Xfce  || die "failed to fix retarded packaging"
}

src_compile() {
	einfo "Nothing to compile, installing..."
}

src_install() {
	rm -f README
	insinto /usr/share/icons/Gant
	doins -r "${S}"/*
}

pkg_postinst() {
	gnome2_icon_cache_update
}

pkg_postrm() {
	gnome2_icon_cache_update
}