commit: 8c23242998b068bbf1060e7b17a01899f8b24a6d Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Sat Oct 27 15:09:27 2018 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Sat Oct 27 15:54:35 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c232429
media-gfx/igal: EAPI7, drop superfluous || die Closes: https://bugs.gentoo.org/666294 Closes: https://github.com/gentoo/gentoo/pull/9447 Thanks-to: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com> Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 media-gfx/igal/igal-2.0-r1.ebuild | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/media-gfx/igal/igal-2.0-r1.ebuild b/media-gfx/igal/igal-2.0-r1.ebuild index dbb1bb4aa71..39981fbb670 100644 --- a/media-gfx/igal/igal-2.0-r1.ebuild +++ b/media-gfx/igal/igal-2.0-r1.ebuild @@ -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 }
