summaryrefslogtreecommitdiff
path: root/x11-themes/ubuntu-mono/ubuntu-mono-0.0.20.ebuild
blob: 68dd5edacfbe3f325f90b64a476407fe691671d9 (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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="2"

inherit gnome2-utils

DESCRIPTION="Dark and Light panel icons to make your desktop beautiful"
HOMEPAGE="http://www.ubuntu.com/"
SRC_URI="mirror://ubuntu/pool/main/u/${PN}/${PN}_${PV}.tar.gz"

LICENSE="CCPL-Attribution-ShareAlike-3.0"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
IUSE=""

RDEPEND="
	>=x11-misc/icon-naming-utils-0.8.90
	media-gfx/imagemagick
	>=gnome-base/librsvg-2.26.0
	>=x11-themes/hicolor-icon-theme-0.10
	x11-themes/humanity-icon-theme"
DEPEND="${RDEPEND}
	dev-util/pkgconfig
	dev-util/intltool
	sys-devel/gettext"

RESTRICT="binchecks mirror strip"

src_install() {
	dodir /usr/share/icons
	cp -r LoginIcons ${PN}* "${D}"/usr/share/icons || die "install failed."

	dodoc "${S}"/debian/{changelog,copyright} || die "install doc failed."
}

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