commit:     54c2580a88455cca5fdfed46508513cc2d1977bd
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 27 15:02:11 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=54c2580a

media-gfx/pngcheck: EAPI7, drop superfluous || die

Closes: https://bugs.gentoo.org/666296
Thanks-to: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 media-gfx/pngcheck/pngcheck-2.3.0.ebuild | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/media-gfx/pngcheck/pngcheck-2.3.0.ebuild 
b/media-gfx/pngcheck/pngcheck-2.3.0.ebuild
index 9731e7c72fb..4358988b8ba 100644
--- a/media-gfx/pngcheck/pngcheck-2.3.0.ebuild
+++ b/media-gfx/pngcheck/pngcheck-2.3.0.ebuild
@@ -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
 }

Reply via email to