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

games-action/chickens/chickens-0.2.4.ebuild

index b40213dba250829e8bdfb027f2e80bdc5395e6e7..580d38b150b0bd7d76e9190b69b622cf00f73592 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
 
 MY_P="ChickensForLinux-Linux-${PV}"
@@ -25,23 +25,20 @@ src_prepare() {
        sed -i \
                -e "s:HighScores:${GAMES_STATEDIR}/${PN}/HighScores:" \
                -e "s:....\(.\)\(_\)\(.*.4x0\)\(.\):M\4\2\x42\x6Fn\1s\2:" \
-               highscore.cpp HighScores \
-               || die "sed failed"
+               highscore.cpp HighScores || die
        sed -i \
                -e "s:options.cfg:${GAMES_SYSCONFDIR}/${PN}/options.cfg:" \
                -e "s:\"sound/:\"${GAMES_DATADIR}/${PN}/sound/:" \
                -e "s:\"dat/:\"${GAMES_DATADIR}/${PN}/dat/:" \
-               main.cpp README \
-               || die "sed failed"
+               main.cpp README || die
        sed -i \
                -e '/^CPPFLAGS/d' \
                -e 's:g++:\\$(CXX) \\$(CXXFLAGS) \\$(LDFLAGS):' \
-               configure \
-               || die "sed failed"
+               configure || die
 }
 
 src_configure() {
-       bash ./configure || die "configure failed"
+       bash ./configure || die
 }
 
 src_install() {