summaryrefslogtreecommitdiff
path: root/x11-themes/kogaion-artwork-mate/kogaion-artwork-mate-2.0.ebuild
diff options
context:
space:
mode:
authorStefan Cristian B. <steven.darklight@gmail.com>2015-08-26 01:31:47 +0300
committerStefan Cristian B. <steven.darklight@gmail.com>2015-08-26 01:31:47 +0300
commit95025a655951e569be00581aa46b456c2826db28 (patch)
treeba2cad75352aaf934575b75b5e6dc7bb9e1bc0ec /x11-themes/kogaion-artwork-mate/kogaion-artwork-mate-2.0.ebuild
parent78f59fcab874c1f62bcf968c526893f6d3d5083c (diff)
parent01936da28b3bfa7c4c51ba2cdbb65b96adf5acd3 (diff)
Merge pull request #64 from bionel/master
bumping kogaion-artwork-mate
Diffstat (limited to 'x11-themes/kogaion-artwork-mate/kogaion-artwork-mate-2.0.ebuild')
-rw-r--r--x11-themes/kogaion-artwork-mate/kogaion-artwork-mate-2.0.ebuild44
1 files changed, 44 insertions, 0 deletions
diff --git a/x11-themes/kogaion-artwork-mate/kogaion-artwork-mate-2.0.ebuild b/x11-themes/kogaion-artwork-mate/kogaion-artwork-mate-2.0.ebuild
new file mode 100644
index 00000000..a71e62d6
--- /dev/null
+++ b/x11-themes/kogaion-artwork-mate/kogaion-artwork-mate-2.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2012 Sabayon
+# Copyright 2012-2015 Kogaion
+# 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://rogentos.ro/"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+RDEPEND=">=x11-themes/kogaion-artwork-core-2.2
+ x11-themes/kogaion-theme
+ x11-themes/numix-icon-theme
+ x11-themes/numix-icon-theme-circle"
+
+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
+}