x11-themes/greybird: Add live ebuild.
authorJeroen Roovers <jer@gentoo.org>
Wed, 3 Aug 2016 14:05:38 +0000 (16:05 +0200)
committerJeroen Roovers <jer@gentoo.org>
Wed, 3 Aug 2016 14:05:38 +0000 (16:05 +0200)
Package-Manager: portage-2.3.0

x11-themes/greybird/greybird-9999.ebuild [new file with mode: 0644]

diff --git a/x11-themes/greybird/greybird-9999.ebuild b/x11-themes/greybird/greybird-9999.ebuild
new file mode 100644 (file)
index 0000000..db4294c
--- /dev/null
@@ -0,0 +1,48 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit git-r3
+
+MY_PN=${PN/g/G}
+
+DESCRIPTION="The default theme from Xubuntu"
+HOMEPAGE="http://shimmerproject.org/project/greybird/ https://github.com/shimmerproject/Greybird"
+EGIT_REPO_URI="https://github.com/shimmerproject/${MY_PN}"
+
+# README says "dual-licensed as GPLv2 or later and CC-BY-SA 3.0 or later"
+LICENSE="CC-BY-SA-3.0 GPL-2+"
+SLOT="0"
+KEYWORDS=""
+# IUSE="ayatana gnome emerald"
+IUSE="ayatana gnome"
+
+RDEPEND="
+       >=x11-themes/gtk-engines-murrine-0.90
+"
+
+RESTRICT="binchecks strip"
+
+src_install() {
+       dodoc README
+       rm -f README LICENSE*
+
+       insinto /usr/share/themes/${MY_PN}-compact/xfwm4
+       doins xfwm4-compact/*
+       rm -rf xfwm4-compact
+
+       insinto /usr/share/themes/${MY_PN}-a11y/xfwm4
+       doins xfwm4-a11y/*
+       rm -rf xfwm4-a11y
+
+       insinto /usr/share/themes/${MY_PN}-bright/xfce-notify-4.0
+       doins xfce-notify-4.0_bright/*
+       rm -rf xfce-notify-4.0_bright
+
+       use ayatana || rm -rf unity
+       use gnome || rm -rf metacity-1
+
+       insinto /usr/share/themes/${MY_PN}
+       doins -r *
+}