x11-themes/elementary-xfce-icon-theme: bump to 0.11
authorJason Zaman <perfinion@gentoo.org>
Sun, 22 Apr 2018 13:42:08 +0000 (21:42 +0800)
committerJason Zaman <perfinion@gentoo.org>
Mon, 23 Apr 2018 05:03:08 +0000 (13:03 +0800)
Package-Manager: Portage-2.3.24, Repoman-2.3.6

x11-themes/elementary-xfce-icon-theme/Manifest
x11-themes/elementary-xfce-icon-theme/elementary-xfce-icon-theme-0.11.ebuild [new file with mode: 0644]

index b3dc7c3f123e877950dc96ed3a2d8ed65f462107..39244dbff22a91b78ac8724fe7ebf3b7d02e2809 100644 (file)
@@ -1 +1,2 @@
+DIST elementary-xfce-icon-theme-0.11.tar.gz 7945508 BLAKE2B 2a313e72bb71deed37a69bfb4186d5133c1d6dc721c7364a7ee63aef80181421cad6100ad12a6585daf6e8f0256579cde6aaf29540561816071721b454231560 SHA512 77695f25cd09afa595fdb49b40b5b605f791ad498cb795aa441c51fd89e2e99e4effd21ade9f62aceccfd4b682d1f95b9656dae97cff17e6c7a1ce159d3672b0
 DIST elementary-xfce-icon-theme-0.9.tar.gz 7724631 BLAKE2B 197db65ebc24f8f62e862613c28222036bebfe99c59b91f36c3d5c83266ac29c635badc6453f8372a46c3bfcd2161a08073d021994372275716ced91f29f2f66 SHA512 9db76522a4feb10bb4cd7d6bb3febab20ca3ae752a42d23926908edf20d69dd674d281d679bad197f19e7a8efe84576da19cdbbc37b3e4b9ce0570d54782016c
diff --git a/x11-themes/elementary-xfce-icon-theme/elementary-xfce-icon-theme-0.11.ebuild b/x11-themes/elementary-xfce-icon-theme/elementary-xfce-icon-theme-0.11.ebuild
new file mode 100644 (file)
index 0000000..744d7ad
--- /dev/null
@@ -0,0 +1,41 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit gnome2-utils
+
+MY_PN="${PN/-icon-theme/}"
+
+DESCRIPTION="Elementary icons forked from upstream, extended and maintained for Xfce"
+HOMEPAGE="https://github.com/shimmerproject/elementary-xfce"
+SRC_URI="https://github.com/shimmerproject/${MY_PN}/archive/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="public-domain GPL-1 GPL-2 GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=""
+DEPEND=""
+
+S="${WORKDIR}/${MY_PN}-${MY_PN}-${PV}"
+
+src_install() {
+       insinto /usr/share/icons/
+       dodoc README
+       for shade in elementary-xfce*; do
+               for doc in {AUTHORS,CONTRIBUTORS,LICENSE}; do
+                       if [[ -f ${shade}/${doc} ]]; then
+                               newdoc ${shade}/${doc} ${shade}-${doc}
+                               rm -f ${shade}/${doc} || die
+                       elif [[ -L ${shade}/${doc} ]]; then
+                               unlink ${shade}/${doc} || die
+                       fi
+               done
+               doins -r ${shade}
+       done
+}
+
+pkg_preinst() { gnome2_icon_savelist; }
+pkg_postinst() { gnome2_icon_cache_update; }
+pkg_postrm() { gnome2_icon_cache_update; }