diff options
Diffstat (limited to 'x11-themes/elementary-xfce-icon-theme/elementary-xfce-icon-theme-0.4_p20150808.ebuild')
-rw-r--r-- | x11-themes/elementary-xfce-icon-theme/elementary-xfce-icon-theme-0.4_p20150808.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/x11-themes/elementary-xfce-icon-theme/elementary-xfce-icon-theme-0.4_p20150808.ebuild b/x11-themes/elementary-xfce-icon-theme/elementary-xfce-icon-theme-0.4_p20150808.ebuild new file mode 100644 index 000000000000..9550d114825f --- /dev/null +++ b/x11-themes/elementary-xfce-icon-theme/elementary-xfce-icon-theme-0.4_p20150808.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit gnome2-utils + +COMMIT="d59bd39ac41b0db96e16d045d2b8181ca66a9b01" + +DESCRIPTION="Elementary icons forked from upstream, extended and maintained for Xfce" +HOMEPAGE="http://github.com/shimmerproject/elementary-xfce" +SRC_URI="${HOMEPAGE}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" +LICENSE="public-domain GPL-1 GPL-2 GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="" +DEPEND="" + +S=${WORKDIR}/elementary-xfce-${COMMIT} + +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} + fi + done + doins -r ${shade} + done +} + +pkg_preinst() { gnome2_icon_savelist; } +pkg_postinst() { gnome2_icon_cache_update; } +pkg_postrm() { gnome2_icon_cache_update; } |