diff options
author | BlackNoxis <steven.darklight@gmail.com> | 2014-02-15 23:24:26 +0200 |
---|---|---|
committer | BlackNoxis <steven.darklight@gmail.com> | 2014-02-15 23:24:26 +0200 |
commit | 7224c1253228e5c29c78cb3f0f26ce34770f2356 (patch) | |
tree | 1684924656132935256e034f35f92abee6623265 /x11-themes/kogaion-dark-theme/kogaion-dark-theme-1.0.ebuild |
Added ebuilds for kogaion desktop
Diffstat (limited to 'x11-themes/kogaion-dark-theme/kogaion-dark-theme-1.0.ebuild')
-rw-r--r-- | x11-themes/kogaion-dark-theme/kogaion-dark-theme-1.0.ebuild | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/x11-themes/kogaion-dark-theme/kogaion-dark-theme-1.0.ebuild b/x11-themes/kogaion-dark-theme/kogaion-dark-theme-1.0.ebuild new file mode 100644 index 00000000..1f55361b --- /dev/null +++ b/x11-themes/kogaion-dark-theme/kogaion-dark-theme-1.0.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +DESCRIPTION="Kogaion dark GTK/XFWM theme" +HOMEPAGE="https://github.com/bionel/kogaion-src" +SRC_URI="https://pk2.rogentos.ro/~rogentos/${CATEGORY}/${PN}/${PN}-${PVR}.tar.gz + http://pkg.rogentos.ro/~noxis/${CATEGORY}/${PN}/${PN}-${PVR}.tar.gz" + +LICENSE="GPL" +SLOT="0" +KEYWORDS="~arm ~amd64 ~x86" +IUSE="gtk3 gtk2 gnome-shell unity cinnamon xfwm4" + +RDEPEND="gtk3? ( x11-themes/gtk-engines-unico ) + x11-themes/gtk-engines-equinox + x11-themes/gtk-engines + x11-themes/kogaion-elementary-icons" +DEPEND="" + +Z="Kogaion-dark" +S="${WORKDIR}"/${Z}/ +THEME="/usr/share/themes" + +src_install() { + dodir ${THEME}/${Z} || die + insinto ${THEME}/${Z} || die + doins "${S}"/index.theme || die + + if use gtk3; then + doins -r "${S}"/gtk-3.0 || die "Cannot copy gtk3" + else + ewarn "Gtk3 Files weren't copied" + fi + + if use gtk2; then + doins -r "${S}"/gtk-2.0 || die "Cannot copy gtk2" + doins -r "${S}"/metacity-1 || die "Cannot copy metacity-1" + else + ewarn "Gtk2 Files were not copied" + fi + + if use gnome-shell; then + doins -r "${S}"/gnome-shell || die "Cannot copy gnome-shell" + else + ewarn "Gnome-shell Files were not copied" + fi + + if use cinnamon; then + doins -r "${S}"/cinnamon || die "Cannot copy cinnamon" + else + ewarn "Cinnamon Files were not copied" + fi + + if use unity; then + doins -r "${S}"/unity || die "Cannot copy unity" + else + ewarn "Unity Files were not copied" + fi + + if use xfwm4; then + doins -r "${S}"/xfwm4 || die "Cannot copy xfwm" + else + ewarn "Xfwm Files were not copied" + fi +} |