EAPI=5; minor tidying
authorMichael Sterrett <mr_bones_@gentoo.org>
Fri, 18 Dec 2015 09:12:18 +0000 (04:12 -0500)
committerMichael Sterrett <mr_bones_@gentoo.org>
Fri, 18 Dec 2015 09:12:18 +0000 (04:12 -0500)
Package-Manager: portage-2.2.24

games-action/geki2-KXL/geki2-KXL-2.0.3-r2.ebuild

index 49eb8af82c78288c8a2d7981d4d69d1105ce6c99..145b741d8b843b18c47dd5e8632212003faf2025 100644 (file)
@@ -1,7 +1,8 @@
 # Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
-EAPI=4
+
+EAPI=5
 inherit autotools eutils games
 
 DESCRIPTION="2D length scroll shooting game"
@@ -23,9 +24,9 @@ src_prepare() {
        sed -i \
                -e '1i #include <string.h>' \
                -e "s:DATA_PATH \"/.score\":\"${GAMES_STATEDIR}/${PN}\":" \
-               src/ranking.c \
-               || die "sed failed"
-       epatch "${FILESDIR}"/${P}-paths.patch \
+               src/ranking.c || die
+       epatch \
+               "${FILESDIR}"/${P}-paths.patch \
                "${FILESDIR}"/${P}-cflags.patch
        eautoreconf
 }