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

games-action/geki3-KXL/geki3-KXL-1.0.3-r2.ebuild

index 06f91689280c4b226f2977e9f6675c89b5a3045e..c31e1dec31b529247940f988fbf3cb25f5e25a63 100644 (file)
@@ -2,7 +2,7 @@
 # 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"
@@ -24,8 +24,7 @@ src_prepare() {
        sed -i \
                -e '1i #include <string.h>' \
                -e "s:DATA_PATH \"/.score\":\"${GAMES_STATEDIR}/${PN}\":" \
-               src/ranking.c \
-               || die "sed failed"
+               src/ranking.c || die
        sed -i -e '/CFLAGS/s/$/ @CFLAGS@/' src/Makefile.am || die #bug 426890
        epatch "${FILESDIR}"/${P}-paths.patch
        mv configure.{in,ac}
@@ -34,7 +33,6 @@ src_prepare() {
 
 src_install() {
        default
-       emake DESTDIR="${D}" install
        insinto "${GAMES_STATEDIR}"
        newins data/.score ${PN}
        fperms g+w "${GAMES_STATEDIR}"/${PN}