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

games-action/noiz2sa/noiz2sa-0.51a.ebuild

index 2987086f94ebbc574255a2c93973c7c1eb572fb0..dea4e350c039c44e9e0a3b6d7a9237c3e8885873 100644 (file)
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=4
+EAPI=5
 inherit eutils games
 
 DESCRIPTION="Abstract Shooting Game"
@@ -27,10 +27,9 @@ src_prepare(){
        sed -i \
                -e "s:/.noiz2sa.prf:/noiz2sa.prf:" \
                -e "s:getenv(\"HOME\"):\"${GAMES_STATEDIR}\":" \
-               attractmanager.c \
-               || die "sed failed"
+               attractmanager.c || die
 
-       cp makefile.lin Makefile || die "Failed copying Makefile"
+       cp makefile.lin Makefile || die
 }
 
 src_install(){
@@ -38,7 +37,7 @@ src_install(){
 
        dogamesbin ${PN}
        dodir "${datadir}" "${GAMES_STATEDIR}"
-       cp -r ../noiz2sa_share/* "${D}/${datadir}" || die "cp failed"
+       cp -r ../noiz2sa_share/* "${D}/${datadir}" || die
        dodoc ../readme*
        touch "${D}${GAMES_STATEDIR}/${PN}.prf"
        fperms 660 "${GAMES_STATEDIR}/${PN}.prf"