From 09ca1b97d864cc77b7dd704e36fd4e7a139c6db2 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 15 Mar 2015 16:41:13 +0200 Subject: proper ebuild for numix theme + patched dark variant --- .../numix-gtk-theme/numix-gtk-theme-2.4.ebuild | 51 ++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 x11-themes/numix-gtk-theme/numix-gtk-theme-2.4.ebuild (limited to 'x11-themes/numix-gtk-theme/numix-gtk-theme-2.4.ebuild') 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 + } +} -- cgit v1.2.3