From a134a699ff3f7d86590e6852999f30ab4d7e275d Mon Sep 17 00:00:00 2001 From: Michael Sterrett Date: Tue, 12 Jan 2016 02:19:50 -0500 Subject: games-fps/unreal-tournament-strikeforce: EAPI=5 Package-Manager: portage-2.2.26 --- .../unreal-tournament-strikeforce-1.81.ebuild | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'games-fps') diff --git a/games-fps/unreal-tournament-strikeforce/unreal-tournament-strikeforce-1.81.ebuild b/games-fps/unreal-tournament-strikeforce/unreal-tournament-strikeforce-1.81.ebuild index 02de93e690fd..1b068f86dddc 100644 --- a/games-fps/unreal-tournament-strikeforce/unreal-tournament-strikeforce-1.81.ebuild +++ b/games-fps/unreal-tournament-strikeforce/unreal-tournament-strikeforce-1.81.ebuild @@ -2,6 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Id$ +EAPI=5 inherit games MY_PV=${PV/./} @@ -31,16 +32,16 @@ src_unpack() { unpack sf_180_server_files.tar.gz unpack ${P}.tar.bz2 unpack sf180lnx.zip - mv "README - sf orm mappack.txt" Strikeforce/SFDoc/ - rm -rf Help/OpenGL\ Alternate - rm System/*.{dll,lnk,exe} System/ServerAdds.zip - rm Strikeforce/SF_System/*.bat - find -type f -exec chmod a-x '{}' + + mv "README - sf orm mappack.txt" Strikeforce/SFDoc/ || die + rm -rf Help/OpenGL\ Alternate || die + rm System/*.{dll,lnk,exe} System/ServerAdds.zip || die + rm Strikeforce/SF_System/*.bat || die + find -type f -exec chmod a-x '{}' + || die } src_install() { local dir=${GAMES_PREFIX_OPT}/unreal-tournament dodir "${dir}" - mv * "${D}/${dir}/" + mv * "${D}/${dir}/" || die prepgamesdirs } -- cgit v1.2.3-65-gdbad