Skip to content

Commit

Permalink
media-gfx/igal: EAPI7, drop superfluous || die
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/666294
Closes: gentoo#9447
Thanks-to: Michael Mair-Keimberger <[email protected]>
Signed-off-by: Andreas Sturmlechner <[email protected]>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
  • Loading branch information
a17r committed Oct 27, 2018
1 parent 0daf8ca commit 8c23242
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions media-gfx/igal/igal-2.0-r1.ebuild
Original file line number Diff line number Diff line change
@@ -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}

Expand All @@ -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:" \
Expand All @@ -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
}

0 comments on commit 8c23242

Please sign in to comment.