From ea3e84f32b666d85a21af365e4cb07df216e6628 Mon Sep 17 00:00:00 2001 From: Michael Sterrett Date: Fri, 18 Dec 2015 04:17:28 -0500 Subject: EAPI=5; minor tidying Package-Manager: portage-2.2.24 --- games-action/noiz2sa/noiz2sa-0.51a.ebuild | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'games-action') diff --git a/games-action/noiz2sa/noiz2sa-0.51a.ebuild b/games-action/noiz2sa/noiz2sa-0.51a.ebuild index 2987086f94eb..dea4e350c039 100644 --- a/games-action/noiz2sa/noiz2sa-0.51a.ebuild +++ b/games-action/noiz2sa/noiz2sa-0.51a.ebuild @@ -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" -- cgit v1.2.3-65-gdbad