diff options
Diffstat (limited to 'x11-themes/numix-gtk-theme')
-rw-r--r-- | x11-themes/numix-gtk-theme/Manifest | 1 | ||||
-rw-r--r-- | x11-themes/numix-gtk-theme/numix-gtk-theme-2.4.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
diff --git a/x11-themes/numix-gtk-theme/Manifest b/x11-themes/numix-gtk-theme/Manifest new file mode 100644 index 00000000..d5a7f2d8 --- /dev/null +++ b/x11-themes/numix-gtk-theme/Manifest @@ -0,0 +1 @@ +DIST numix-gtk-theme_2.4.orig.tar.gz 70818 SHA256 b50c827e3f42b01963e858f7a0d69efb93f435b2d84d9e17aa47f64b598b6a2d SHA512 d4ec9c077aff740927ab8aca861ea694542542dc560934a38e5ddaa8533c2d3cc396cc448ada9220ddd7fdc8333f943c352bbf968f238b7ec0dc7dabc51c1b9e WHIRLPOOL d927f521deaa24d8e8f86f5532163be3d63c12445984bbccdf41f07cbbe5205230c14d82c519f0c6848ff0bfe9fd0b021bd288090bcde880429bfe030883977c diff --git a/x11-themes/numix-gtk-theme/numix-gtk-theme-2.4.ebuild b/x11-themes/numix-gtk-theme/numix-gtk-theme-2.4.ebuild new file mode 100644 index 00000000..a5655681 --- /dev/null +++ b/x11-themes/numix-gtk-theme/numix-gtk-theme-2.4.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +inherit eutils + +MY_PN="Numix" + +DESCRIPTION="Numix GTK Theme" +HOMEPAGE="https://numixproject.org/" +SRC_URI="https://launchpad.net/~numix/+archive/ubuntu/ppa/+files/${PN}_${PV}.orig.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="+gtk3 metacity openbox unity xfwm4" + +DEPEND="" +RDEPEND="x11-themes/gtk-engines-murrine + gtk3? ( x11-themes/gtk-engines-unico )" + +S="${WORKDIR}/${PN}-${PV}" + +src_install() { + cd "${S}" + dodir /usr/share/themes/${MY_PN} + insinto /usr/share/themes/${MY_PN} + doins -r "${S}"/* + + use gtk3 || { + rm -R "${D}"/usr/share/themes/*/gtk-3.0 || die + } + + use metacity || { + rm -R "${D}"/usr/share/themes/*/metacity-1 || die + } + + use openbox || { + rm -R "${D}"/usr/share/themes/*/openbox-3 || die + } + + use unity || { + rm -R "${D}"/usr/share/themes/*/unity || die + } + + use xfwm4 || { + rm -R "${D}"/usr/share/themes/*/xfwm4 || die + } +} |