summaryrefslogtreecommitdiff
path: root/x11-themes/numix-icon-theme/numix-icon-theme-1.0-r1.ebuild
blob: 308a97307b0fed7ee17b1bfe2db8d4346a62c3db (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
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="5"

inherit gnome2-utils

DESCRIPTION="Icon theme from the numix project."
HOMEPAGE="http://numixproject.org/"
SRC_URI="http://mirror.math.princeton.edu/pub/redcorelinux/distfiles/${CATEGORY}/${PN}/"${PN}"-${PV}.tar.gz"

LICENSE="GPL-3.0+"
SLOT="0"
KEYWORDS="amd64 x86"

RDEPEND="x11-themes/gnome-icon-theme
		x11-themes/hicolor-icon-theme"
DEPEND="${RDEPEND}"

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

src_install() {
	insinto /usr/share/icons
	doins -r Numix-Light
	doins -r Numix
}

pkg_preinst() {
	gnome2_icon_savelist
}

pkg_postinst() {
	gnome2_icon_cache_update
}

pkg_postrm() {
	gnome2_icon_cache_update
}