summaryrefslogtreecommitdiff
blob: d8debb7d5d77113c3af9864ef3bff38a50236e46 (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-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="2"

inherit autotools gnome2-utils

DESCRIPTION="SVG and PNG icon theme from the Moblin project"
HOMEPAGE="http://git.moblin.org/cgit.cgi/moblin-icon-theme/"
SRC_URI="http://git.moblin.org/cgit.cgi/${PN}/snapshot/${P}.tar.bz2"

LICENSE="CCPL-Attribution-ShareAlike-3.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND=">=x11-misc/icon-naming-utils-0.8.7"
DEPEND="${RDEPEND}
dev-util/pkgconfig"

src_prepare() {
	./create-icon-theme.sh moblin || die "create-icon-theme failed!"
	cd output/moblin
	eautoreconf
}

src_configure() {
	cd output/moblin
	default_src_configure
}

src_compile() {
	cd output/moblin
	default_src_compile
}

src_install() {
	cd output/moblin
	emake DESTDIR="${D}" install || die "emake install failed"
	cd "${S}"
	dodoc AUTHORS ChangeLog
}

pkg_preinst() {	gnome2_icon_savelist; }
pkg_postinst() { gnome2_icon_cache_update; }
pkg_postrm() { gnome2_icon_cache_update; }