# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI="2" inherit gnome2-utils DESCRIPTION="Simple and appealing Tango-styled icon theme" HOMEPAGE="https://launchpad.net/elementaryicons" SRC_URI="http://launchpad.net/elementaryicons/2.0/${PV}/+download/elementary.tar.gz -> elementary-${PV}.tar.gz http://launchpad.net/elementaryicons/2.0/${PV}/+download/elementary-monochrome.tar.gz -> elementary-monochrome-${PV}.tar.gz" LICENSE="GPL-3" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" IUSE="" RDEPEND=" >=x11-misc/icon-naming-utils-0.8.90 media-gfx/imagemagick >=gnome-base/librsvg-2.26.0 x11-themes/gnome-icon-theme >=x11-themes/hicolor-icon-theme-0.10" DEPEND="${RDEPEND} virtual/pkgconfig dev-util/intltool sys-devel/gettext" S=${WORKDIR} RESTRICT="binchecks mirror strip" src_install() { dodir /usr/share/icons cp -r elementary* "${D}"/usr/share/icons || die "install failed." } pkg_preinst() { gnome2_icon_savelist; } pkg_postinst() { gnome2_icon_cache_update; } pkg_postrm() { gnome2_icon_cache_update; }