games-fps/doom3-ducttape: EAPI=5
authorMichael Sterrett <mr_bones_@gentoo.org>
Tue, 12 Jan 2016 05:07:54 +0000 (00:07 -0500)
committerMichael Sterrett <mr_bones_@gentoo.org>
Tue, 12 Jan 2016 06:48:12 +0000 (01:48 -0500)
Package-Manager: portage-2.2.26

games-fps/doom3-ducttape/doom3-ducttape-0006-r1.ebuild

index 89f745d41aba1b5a160e7ae6696d7d143e711254..7fb11e77a21d9e1dfd91d85dcaed0dd6f884c1c9 100644 (file)
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=2
+EAPI=5
 
 MOD_DESC="sticks flashlights to your machinegun and shotgun"
 MOD_NAME="Duct Tape"
@@ -18,13 +18,13 @@ KEYWORDS="amd64 x86"
 IUSE="dedicated opengl"
 
 src_unpack() {
-       mkdir ${MOD_DIR}
-       cd ${MOD_DIR}
+       mkdir ${MOD_DIR} || die
+       cd ${MOD_DIR} || die
        unpack ${A}
 }
 
 src_prepare() {
-       rm -f ${MOD_DIR}/pak002.pk4 # for doom3-roe
+       rm -f ${MOD_DIR}/pak002.pk4 || die # for doom3-roe
 }
 
 pkg_postinst() {