summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2019-10-24 22:26:16 +0100
committerJames Le Cuirot <chewi@gentoo.org>2019-10-27 23:48:20 +0000
commit26a11a4a9dadf835fc72bfc1d446535abe001683 (patch)
tree5cb35bea3274eb567e1c586a7f21d027e07b752e /games-fps/ut2004-bonuspack-cbp2/ut2004-bonuspack-cbp2-1-r3.ebuild
parentgames-fps/ut2004-bonuspack-cbp1: Fix SRC_URI, drop eclasses, EAPI 7 (diff)
downloadgentoo-26a11a4a9dadf835fc72bfc1d446535abe001683.tar.gz
gentoo-26a11a4a9dadf835fc72bfc1d446535abe001683.tar.bz2
gentoo-26a11a4a9dadf835fc72bfc1d446535abe001683.zip
games-fps/ut2004-bonuspack-cbp2: Fix SRC_URI, drop eclasses, EAPI 7
Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'games-fps/ut2004-bonuspack-cbp2/ut2004-bonuspack-cbp2-1-r3.ebuild')
-rw-r--r--games-fps/ut2004-bonuspack-cbp2/ut2004-bonuspack-cbp2-1-r3.ebuild43
1 files changed, 43 insertions, 0 deletions
diff --git a/games-fps/ut2004-bonuspack-cbp2/ut2004-bonuspack-cbp2-1-r3.ebuild b/games-fps/ut2004-bonuspack-cbp2/ut2004-bonuspack-cbp2-1-r3.ebuild
new file mode 100644
index 000000000000..c14a79c5917f
--- /dev/null
+++ b/games-fps/ut2004-bonuspack-cbp2/ut2004-bonuspack-cbp2-1-r3.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="UT2004 Community Bonus Pack 2 Volume 1 and 2"
+HOMEPAGE="https://liandri.beyondunreal.com/Unreal_Tournament_2004"
+SRC_URI="https://ut2004.ut-files.com/BonusPacks/cbp2-volume1_zip.zip
+ https://ut2004.ut-files.com/BonusPacks/cbp2-volume2_zip.zip"
+LICENSE="freedist"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+RESTRICT="strip"
+
+BDEPEND="app-arch/unzip"
+RDEPEND="|| ( games-fps/ut2004 >=games-server/ut2004-ded-3369.3-r2 )
+ games-fps/ut2004-bonuspack-cbp1
+ games-fps/ut2004-bonuspack-mega"
+
+S="${WORKDIR}"
+
+src_prepare() {
+ default
+
+ # In ut2004-bonuspack-cbp1.
+ rm Music/Soeren.ogg || die
+
+ # In ut2004-bonuspack-mega.
+ rm Textures/Ty_RocketTextures.utx || die
+
+ # Useless file.
+ rm Help/Note.txt || die
+
+ cd Help || die
+ mv Readme.txt CBP2-Readme.txt || die
+ mv GERROIDREADME.txt DOM-CBP2-Gerroid.txt || die
+ mv Tydal.txt DM-CBP2-Tydal.txt || die
+}
+
+src_install() {
+ insinto /opt/ut2004
+ doins -r *
+}