media-gfx/igal: EAPI7, drop superfluous || die
authorAndreas Sturmlechner <asturm@gentoo.org>
Sat, 27 Oct 2018 15:09:27 +0000 (17:09 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sat, 27 Oct 2018 15:54:35 +0000 (17:54 +0200)
Closes: https://bugs.gentoo.org/666294
Closes: https://github.com/gentoo/gentoo/pull/9447
Thanks-to: Michael Mair-Keimberger <m.mairkeimberger@gmail.com>
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

media-gfx/igal/igal-2.0-r1.ebuild

index dbb1bb4aa71839aa734800f8c3643178ea0b4100..39981fbb670975b0313d254221c3d3b2314c578e 100644 (file)
@@ -1,7 +1,7 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=2
+EAPI=7
 
 MY_P=${PN}2-${PV}
 
@@ -14,14 +14,16 @@ SLOT="0"
 KEYWORDS="alpha amd64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
 IUSE=""
 
-RDEPEND="dev-lang/perl
+RDEPEND="
+       dev-lang/perl
        virtual/imagemagick-tools
        virtual/jpeg"
 DEPEND=""
 
-S=${WORKDIR}/${MY_P}
+S="${WORKDIR}/${MY_P}"
 
 src_prepare() {
+       default
        sed -e "s:/usr/local/lib/igal2:/usr/share/igal2:g" \
                -i igal2 -i igal2.1 || die
        sed -i -e "s:/usr/local/bin/igal2:/usr/bin/igal2:" \
@@ -31,10 +33,10 @@ src_prepare() {
 src_compile() { :; }
 
 src_install() {
-       dobin igal2 utilities/igal2.sh || die
-       dosym igal2 /usr/bin/igal || die
+       dobin igal2 utilities/igal2.sh
+       dosym igal2 /usr/bin/igal
        doman igal2.1
        dodoc ChangeLog README
        insinto /usr/share/igal2
-       doins *.html tile.png igal2.css || die
+       doins *.html tile.png igal2.css
 }