summaryrefslogtreecommitdiff
blob: a2e49002ff38efede5a34d887aa8d8cf33c2032d (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: $

inherit gnome2-utils eutils

MY_PN="${PN/kde-icons-}"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Glass-style icons for KDE."
HOMEPAGE="http://www.kde-look.org/content/show.php/Dark-Glass+reviewed?content=67902"
SRC_URI="http://dev.gentooexperimental.org/~jakub/distfiles/${MY_P}.tar.bz2"

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

DEPEND=""
RDEPEND=""

S="${WORKDIR}/${MY_P}"

src_unpack() {
	unpack ${A}
	cd "${S}"
	rm -f buildset*
	edos2unix index.desktop
	sed -i -e '/^SmallDefault=/s:32:16:' index.desktop
}

src_compile() {
	einfo "Nothing to compile, installing. This will take a while..."
}

src_install() {
	insinto /usr/share/icons/${MY_PN}
	doins -r "${S}"/*
}

pkg_postinst() {
	gnome2_icon_cache_update
}

pkg_postrm() {
	gnome2_icon_cache_update
}