diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /games-fps/ut2004-bonuspack-ece/ut2004-bonuspack-ece-1-r3.ebuild | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'games-fps/ut2004-bonuspack-ece/ut2004-bonuspack-ece-1-r3.ebuild')
-rw-r--r-- | games-fps/ut2004-bonuspack-ece/ut2004-bonuspack-ece-1-r3.ebuild | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/games-fps/ut2004-bonuspack-ece/ut2004-bonuspack-ece-1-r3.ebuild b/games-fps/ut2004-bonuspack-ece/ut2004-bonuspack-ece-1-r3.ebuild new file mode 100644 index 000000000000..e5ebe2ab3b90 --- /dev/null +++ b/games-fps/ut2004-bonuspack-ece/ut2004-bonuspack-ece-1-r3.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +MOD_DESC="Editor's Choice Edition bonus pack" +MOD_NAME="Editor's Choice Edition" + +inherit games games-mods + +MY_P="ut2004megapack-linux.tar.bz2" +HOMEPAGE="http://www.unrealtournament2004.com/" +SRC_URI="http://ut2004.ut-files.com/BonusPacks/${MY_P} + http://unrealmassdestruction.com/downloads/ut2k4/essentials/UT2004-ONSBonusMapPack.zip" + +LICENSE="ut2003" +KEYWORDS="~amd64 ~x86" +IUSE="" + +src_unpack() { + unpack ${MY_P} + cd UT2004MegaPack/Maps || die + unpack UT2004-ONSBonusMapPack.zip # bug #278002 +} + +src_prepare() { + mv -f UT2004MegaPack/* . || die + rmdir UT2004MegaPack || die + + rm -r Music Speech || die + + # Remove megapack files which are not in ece + rm Animations/ONSNewTank-A.ukx || die + rm Help/ReadMePatch.int.txt || die + # Help/{DebuggerLogo.bmp,InstallerLogo.bmp,Unreal.ico,UnrealEd.ico} + # are not in megapack. + # Keep new Help/UT2004Logo.bmp + # Manual dir does not exist in megapack + rm Maps/{AS*,CTF*,DM*} || die + rm Sounds/A_Announcer_BP2.uax || die + rm StaticMeshes/{JumpShipObjects.usx,Ty_RocketSMeshes.usx} || die + rm System/{A*,b*,B*,CacheRecords.ucl} || die + rm System/{*.det,*.est,*.frt,*.itt,*.kot} || die + rm System/{CTF*,D*,Editor*,G*,I*,L*,Onslaught.*,*.md5} || die + rm System/{u*,U*,V*,X*,Core.u,Engine.u,F*,*.ucl,Sk*} || die + rm Textures/{J*,j*,T*} || die + rm -r Web || die + + # The file lists of ut2004-3369-r1 and -r2 are identical + # Remove files owned by ut2004-3369-r2 + rm Help/UT2004Logo.bmp || die + # The 2 Manifest files have not changed + rm System/{Manifest.in{i,t},OnslaughtFull.int} || die + rm System/{Core.int,Engine.int,Setup.int,Window.int} || die + rm System/{OnslaughtFull.u,OnslaughtBP.u} || die +} |