# Distributed under the terms of the GNU General Public License v2
# $Id$
+EAPI=5
inherit games
MY_PV=${PV/./}
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
}