summaryrefslogtreecommitdiff
blob: 8383f96bc7f61efd18d2fbe544143354df76951d (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
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-themes/faenza-xfce-icon-theme/faenza-xfce-icon-theme-0.2.1.ebuild,v 1.3 2013/12/25 09:36:39 maekke Exp $

EAPI=4
inherit gnome2-utils

MY_PN=Faenza-Xfce

DESCRIPTION="A set of extra icons to complete the Faenza icon theme for the Xfce desktop environment"
HOMEPAGE="http://github.com/shimmerproject/Faenza-Xfce"
SRC_URI="http://github.com/shimmerproject/${MY_PN}/tarball/v.${PV} -> ${P}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 ~arm x86"
IUSE=""

RDEPEND="x11-themes/faenza-icon-theme"
DEPEND=""

RESTRICT="binchecks strip"

src_unpack() {
	unpack ${A}
	mv *-${MY_PN}-* "${S}"
}

src_install() {
	insinto /usr/share/icons/${MY_PN}
	doins -r index.theme apps
	dodoc README
}

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