diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-themes/gnome-colors-common/gnome-colors-common-5.5.1-r1.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-themes/gnome-colors-common/gnome-colors-common-5.5.1-r1.ebuild')
-rw-r--r-- | x11-themes/gnome-colors-common/gnome-colors-common-5.5.1-r1.ebuild | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/x11-themes/gnome-colors-common/gnome-colors-common-5.5.1-r1.ebuild b/x11-themes/gnome-colors-common/gnome-colors-common-5.5.1-r1.ebuild new file mode 100644 index 000000000000..d469a500e013 --- /dev/null +++ b/x11-themes/gnome-colors-common/gnome-colors-common-5.5.1-r1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit gnome2-utils + +DESCRIPTION="Colorized icons shared between all gnome-colors iconsets" +HOMEPAGE="https://code.google.com/p/gnome-colors/" + +SRC_URI="https://gnome-colors.googlecode.com/files/gnome-colors-${PV}.tar.gz + branding? ( https://www.mail-archive.com/tango-artists@lists.freedesktop.org/msg00043/tango-gentoo-v1.1.tar.gz ) +" + +LICENSE=" + GPL-2 + branding? ( CC-BY-SA-4.0 ) +" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="+branding" + +RDEPEND="x11-themes/adwaita-icon-theme" +DEPEND="" +RESTRICT="binchecks strip" + +S="${WORKDIR}" + +src_prepare() { + default + if use branding; then + for i in 16 22 24 32 ; do + cp tango-gentoo-v1.1/${i}x${i}/gentoo.png \ + gnome-colors-common/${i}x${i}/places/start-here.png \ + || die "Copying gentoo logos failed" + done + cp tango-gentoo-v1.1/scalable/gentoo.svg \ + gnome-colors-common/scalable/places/start-here.svg \ + || die "Copying scalable logo failed" + fi +} + +src_compile() { + einfo "Nothing to compile" +} + +src_install() { + dodir /usr/share/icons + insinto /usr/share/icons + doins -r "${WORKDIR}/${PN}" || die "Installing icons failed" + einstalldocs +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} |