# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=2
+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? ( http://www.mail-archive.com/tango-artists@lists.freedesktop.org/msg00043/tango-gentoo-v1.1.tar.gz )"
+ branding? ( http://www.mail-archive.com/tango-artists@lists.freedesktop.org/msg00043/tango-gentoo-v1.1.tar.gz )
+"
-LICENSE="GPL-2
- branding? ( CC-Sampling-Plus-1.0 )"
+LICENSE="
+ GPL-2
+ branding? ( CC-Sampling-Plus-1.0 )
+"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="+branding"
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 \
dodir /usr/share/icons
insinto /usr/share/icons
doins -r "${WORKDIR}/${PN}" || die "Installing icons failed"
- dodoc AUTHORS ChangeLog README
+ einstalldocs
}
pkg_preinst() {