x11-themes/gnome-colors-common: Bump EAPI
authorPacho Ramos <pacho@gentoo.org>
Sun, 24 Apr 2016 10:59:18 +0000 (12:59 +0200)
committerPacho Ramos <pacho@gentoo.org>
Sun, 24 Apr 2016 12:06:37 +0000 (14:06 +0200)
Package-Manager: portage-2.2.28

x11-themes/gnome-colors-common/gnome-colors-common-5.5.1.ebuild

index fb0e7d4dcf5e761e0143f8059a3571c377305fb4..130fe2e8ced65581732f3efb46258f350be45a2f 100644 (file)
@@ -2,17 +2,20 @@
 # 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"
@@ -21,7 +24,10 @@ RDEPEND="x11-themes/gnome-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 \
@@ -42,7 +48,7 @@ src_install() {
        dodir /usr/share/icons
        insinto /usr/share/icons
        doins -r "${WORKDIR}/${PN}" || die "Installing icons failed"
-       dodoc AUTHORS ChangeLog README
+       einstalldocs
 }
 
 pkg_preinst() {