summaryrefslogtreecommitdiff
path: root/x11-themes/kogaion-artwork-mate
diff options
context:
space:
mode:
authorStefan Cristian B. <steven.darklight@gmail.com>2014-12-09 21:11:10 +0200
committerStefan Cristian B. <steven.darklight@gmail.com>2014-12-09 21:11:10 +0200
commiteac041f4776415243ed25dd0dcba23490b086424 (patch)
treeb3e527117cf738e27fc6c63f17bac806683f3fb6 /x11-themes/kogaion-artwork-mate
parent77feb20b6f8dadaf3c237072390487b73ed7b03c (diff)
parent1bb06602fe0ea1bf4c3c4b52c2177acbe0808810 (diff)
Merge pull request #18 from bionel/master
Forcing more artwork to kogaion-core
Diffstat (limited to 'x11-themes/kogaion-artwork-mate')
-rw-r--r--x11-themes/kogaion-artwork-mate/kogaion-artwork-mate-1.0-r1.ebuild45
1 files changed, 45 insertions, 0 deletions
diff --git a/x11-themes/kogaion-artwork-mate/kogaion-artwork-mate-1.0-r1.ebuild b/x11-themes/kogaion-artwork-mate/kogaion-artwork-mate-1.0-r1.ebuild
new file mode 100644
index 00000000..ba9d621b
--- /dev/null
+++ b/x11-themes/kogaion-artwork-mate/kogaion-artwork-mate-1.0-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2012 Sabayon
+# Distributed under the terms of the GNU General Public License v2
+# Header: $
+
+EAPI=4
+
+inherit gnome2-utils
+
+DESCRIPTION="Kogaion Linux Official MATE artwork"
+HOMEPAGE="http://www.rogentos.ro/"
+SRC_URI="http://pkg.rogentos.ro/~rogentos/distro/${CATEGORY}/${PN}/"${PN}"-${PV}.tar.gz"
+LICENSE="GPL"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+RDEPEND=">=x11-themes/kogaion-artwork-core-2
+ x11-themes/kogaion-light-theme
+ x11-themes/kogaion-dark-theme
+ x11-themes/faenza-kupertino-icons
+ !x11-themes/sabayon-artwork-mate"
+
+S="${WORKDIR}/"
+
+src_install() {
+ # Doing overrides. Because we can!
+ dodir /usr/share/glib-2.0/schemas
+ insinto /usr/share/glib-2.0/schemas
+ doins "${FILESDIR}/org.mate.kogaion.gschema.override"
+}
+
+pkg_preinst() {
+ # taken from gnome2_schemas_savelist
+ has ${EAPI:-0} 0 1 2 && ! use prefix && ED="${D}"
+ pushd "${ED}" &>/dev/null
+ export GNOME2_ECLASS_GLIB_SCHEMAS="/usr/share/glib-2.0/schemas/org.mate.kogaion.gschema.override"
+ popd &>/dev/null
+}
+
+pkg_postinst() {
+ gnome2_schemas_update
+}
+
+pkg_postrm() {
+ gnome2_schemas_update --uninstall
+}