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

games-action/tuxkart/tuxkart-0.4.0.ebuild

index cbbd0a90c3d04e1a65456c25f9b4afd70a0bf399..a662aecd903b450498c9c3a9bee82033678d9f60 100644 (file)
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=4
+EAPI=5
 inherit games
 
 DESCRIPTION="A racing game starring Tux, the linux penguin"
@@ -29,16 +29,13 @@ src_prepare() {
        # apparently <sys/perm.h> doesn't exist on alpha
        if use alpha; then
                sed -i \
-                       -e '/#include <sys\/perm.h>/d' src/gfx.cxx \
-                       || die "sed src/gfx.cxx failed"
+                       -e '/#include <sys\/perm.h>/d' src/gfx.cxx || die
        fi
        sed -i \
                -e "/^plib_suffix/ s/-lplibul/-lplibul -lplibjs/" \
-               -e "s/-malign-double//; s/-O6//" configure \
-               || die "sed configure failed"
+               -e "s/-malign-double//; s/-O6//" configure || die
        sed -i \
-               -e "/^bindir/s/=.*/=@bindir@/" src/Makefile.in \
-               || die "sed src/Makefile.in failed"
+               -e "/^bindir/s/=.*/=@bindir@/" src/Makefile.in || die
 }
 
 src_configure() {