/[gentoo-x86]/x11-themes/faenza-icon-theme/faenza-icon-theme-1.2-r1.ebuild
Gentoo

Contents of /x11-themes/faenza-icon-theme/faenza-icon-theme-1.2-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sun Dec 16 11:40:30 2012 UTC (5 months ago) by hwoarang
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Remove old

(Portage version: 2.1.11.34/cvs/Linux x86_64, signed Manifest commit with key B4AFF2C2)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-themes/faenza-icon-theme/faenza-icon-theme-1.2-r1.ebuild,v 1.3 2012/06/19 18:55:44 ssuominen Exp $
4
5 EAPI=4
6 inherit gnome2-utils
7
8 MY_P=${PN}_${PV}
9
10 DESCRIPTION="A scalable icon theme called Faenza"
11 HOMEPAGE="http://tiheum.deviantart.com/art/Faenza-Icons-173323228"
12 # Use Ubuntu repo which has a proper faenza-icon-theme tarball
13 #SRC_URI="http://faenza-icon-theme.googlecode.com/files/${PN}_${PV}.tar.gz"
14 SRC_URI="http://ppa.launchpad.net/tiheum/equinox/ubuntu/pool/main/${PN:0:1}/${PN}/${MY_P}.tar.gz"
15
16 LICENSE="GPL-3"
17 SLOT="0"
18 KEYWORDS="amd64 x86"
19 IUSE="minimal"
20
21 RDEPEND="!minimal? ( x11-themes/gnome-icon-theme )
22 x11-themes/hicolor-icon-theme"
23
24 RESTRICT="binchecks strip"
25
26 src_prepare() {
27 local res x
28 for x in Faenza Faenza-Dark; do
29 for res in 22 24 32 48; do
30 cp "${x}"/places/${res}/start-here-gentoo.png \
31 "${x}"/places/${res}/start-here.png || die
32 done
33 cp "${x}"/places/scalable/start-here-gentoo.svg \
34 "${x}"/places/scalable/start-here.svg || die
35 done
36 for x in emesene dockmanager rhythmbox; do
37 mv ${x} Faenza-${x} || die
38 done
39 }
40
41 src_install() {
42 insinto /usr/share/icons
43 doins -r Faenza{,-Ambiance,-Dark,-Darker,-Darkest,-dockmanager,-emesene,-Radiance,-rhythmbox}
44 }
45
46 pkg_preinst() { gnome2_icon_savelist; }
47 pkg_postinst() { gnome2_icon_cache_update; }
48 pkg_postrm() { gnome2_icon_cache_update; }

  ViewVC Help
Powered by ViewVC 1.1.13