diff options
author | V3n3RiX <venerix@rogentos.ro> | 2016-04-29 10:52:17 +0100 |
---|---|---|
committer | V3n3RiX <venerix@rogentos.ro> | 2016-04-29 10:52:17 +0100 |
commit | 5100f9d9cb15c37d6515c7528995a8de4d7b6310 (patch) | |
tree | f5166a0ccd49bf0ac5c2b51a503181e54c0efbd9 /x11-themes/kogaion-artwork-mate/kogaion-artwork-mate-2.0-r1.ebuild | |
parent | 2abcb77b278375641ec70247045d6ac9b448627f (diff) |
change schema override && trigger rebuild
Diffstat (limited to 'x11-themes/kogaion-artwork-mate/kogaion-artwork-mate-2.0-r1.ebuild')
-rw-r--r-- | x11-themes/kogaion-artwork-mate/kogaion-artwork-mate-2.0-r1.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/x11-themes/kogaion-artwork-mate/kogaion-artwork-mate-2.0-r1.ebuild b/x11-themes/kogaion-artwork-mate/kogaion-artwork-mate-2.0-r1.ebuild new file mode 100644 index 00000000..118df5f9 --- /dev/null +++ b/x11-themes/kogaion-artwork-mate/kogaion-artwork-mate-2.0-r1.ebuild @@ -0,0 +1,42 @@ +# 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="" +DEPEND="" +RDEPEND="" + +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 +} |