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

games-action/0verkill/0verkill-0.16-r3.ebuild

index 9af4419c15996c70827dcc7d52a4d66d90cddf4b..df0776c37a4edf63add4906f11b23f8dd2987cd6 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="a bloody 2D action deathmatch-like game in ASCII-ART"
@@ -15,7 +15,7 @@ KEYWORDS="amd64 ia64 ppc sparc x86"
 IUSE="X"
 
 DEPEND="X? ( x11-libs/libXpm )"
-RDEPEND="${DEPEND}"
+RDEPEND=${DEPEND}
 
 src_prepare() {
        epatch \
@@ -27,14 +27,11 @@ src_prepare() {
                "${FILESDIR}"/${P}-CC.patch \
                "${FILESDIR}"/${P}-underflow-check.patch #136222 \
        sed -i \
-               -e "s:data/:${GAMES_DATADIR}/${PN}/data/:" cfg.h \
-               || die "sed failed"
+               -e "s:data/:${GAMES_DATADIR}/${PN}/data/:" cfg.h || die
        sed -i \
-               -e "s:@CFLAGS@ -O3 :@CFLAGS@ :" Makefile.in \
-               || die "sed failed"
+               -e "s:@CFLAGS@ -O3 :@CFLAGS@ :" Makefile.in || die
        sed -i \
-               -e "/gettimeofday/s/getopt/getopt calloc/" configure.in \
-               || die "sed failed"
+               -e "/gettimeofday/s/getopt/getopt calloc/" configure.in || die
        eautoreconf
 }