diff options
Diffstat (limited to 'games-fps/ut2004-crossfire/ut2004-crossfire-1.95.ebuild')
-rw-r--r-- | games-fps/ut2004-crossfire/ut2004-crossfire-1.95.ebuild | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/games-fps/ut2004-crossfire/ut2004-crossfire-1.95.ebuild b/games-fps/ut2004-crossfire/ut2004-crossfire-1.95.ebuild new file mode 100644 index 000000000000..52d8a5e9ed13 --- /dev/null +++ b/games-fps/ut2004-crossfire/ut2004-crossfire-1.95.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +MOD_NAME="Crossfire" +MOD_DESC="Special Forces vs Terrorists" +MOD_DIR="TOCrossfire" +MOD_ICON="Help/icons/TOC_TERROR2.png" + +inherit games games-mods + +HOMEPAGE="http://to-crossfire.tnc-clan.de/" +SRC_URI="ftp://files.tnc-clan.de/TOCrossfire/client/TOCrossfire_beta_${PV}_full.zip" + +# See Help/EULA.txt +LICENSE="free-noncomm" +KEYWORDS="~amd64 ~x86" +IUSE="dedicated opengl" + +src_unpack() { + unpack ${A} + unpack ./TOCinstall.tgz +} + +src_prepare() { + rm -f *.{exe,reg,sh,tgz,txt} || die + rm -rf TOCInstaller.app stuff || die + cd ${MOD_DIR} || die + rm -f *.{bat,exe} Help/*.{exe,zip} || die +} |