media-gfx/pngcheck: EAPI7, drop superfluous || die
authorAndreas Sturmlechner <asturm@gentoo.org>
Sat, 27 Oct 2018 15:02:11 +0000 (17:02 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sat, 27 Oct 2018 15:54:35 +0000 (17:54 +0200)
Closes: https://bugs.gentoo.org/666296
Thanks-to: Michael Mair-Keimberger <m.mairkeimberger@gmail.com>
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
media-gfx/pngcheck/pngcheck-2.3.0.ebuild

index 9731e7c72fb219873c4730d4e0d74dfbe4105d61..4358988b8ba12718741f0d454c4080159f316098 100644 (file)
@@ -1,10 +1,11 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=2
+EAPI=7
+
 inherit toolchain-funcs
 
-DESCRIPTION="verifies the integrity of PNG, JNG and MNG files with internal checksums"
+DESCRIPTION="Verifies the integrity of PNG, JNG and MNG files with internal checksums"
 HOMEPAGE="http://www.libpng.org/pub/png/apps/pngcheck.html"
 SRC_URI="mirror://sourceforge/png-mng/${P}.tar.gz"
 
@@ -20,10 +21,10 @@ src_compile() {
        emake -f Makefile.unx \
                CC="$(tc-getCC)" \
                CFLAGS="${LDFLAGS} ${CFLAGS} -DUSE_ZLIB" \
-               ZLIB="-lz" || die
+               ZLIB="-lz"
 }
 
 src_install() {
-       dobin png{check,split,-fix-IDAT-windowsize} || die
-       dodoc CHANGELOG README
+       dobin png{check,split,-fix-IDAT-windowsize}
+       einstalldocs
 }