summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2019-10-24 22:24:26 +0100
committerJames Le Cuirot <chewi@gentoo.org>2019-10-27 23:48:16 +0000
commitda3713fe12af34a5253482951e3b6325b58b930d (patch)
treea1385b89988a5dcce0beedf9d694d5f7f9f4f26e /games-fps/ut2004-bonuspack-cbp1
parentgames-fps/ut2004-bonuspack-mega: Port to EAPI 7 (diff)
downloadgentoo-da3713fe12af34a5253482951e3b6325b58b930d.tar.gz
gentoo-da3713fe12af34a5253482951e3b6325b58b930d.tar.bz2
gentoo-da3713fe12af34a5253482951e3b6325b58b930d.zip
games-fps/ut2004-bonuspack-cbp1: 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-cbp1')
-rw-r--r--games-fps/ut2004-bonuspack-cbp1/ut2004-bonuspack-cbp1-1-r2.ebuild17
-rw-r--r--games-fps/ut2004-bonuspack-cbp1/ut2004-bonuspack-cbp1-1-r3.ebuild22
2 files changed, 22 insertions, 17 deletions
diff --git a/games-fps/ut2004-bonuspack-cbp1/ut2004-bonuspack-cbp1-1-r2.ebuild b/games-fps/ut2004-bonuspack-cbp1/ut2004-bonuspack-cbp1-1-r2.ebuild
deleted file mode 100644
index 3a2c9a8576d8..000000000000
--- a/games-fps/ut2004-bonuspack-cbp1/ut2004-bonuspack-cbp1-1-r2.ebuild
+++ /dev/null
@@ -1,17 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-MOD_DESC="UT2003 Community Bonus Pack for UT2004"
-MOD_NAME="Community Bonus Pack Vol 1"
-
-inherit games games-mods
-
-HOMEPAGE="https://liandri.beyondunreal.com/Unreal_Tournament_2004"
-SRC_URI="http://downloads.unrealadmin.org/UT2004/BonusPack/cbp1.zip
- http://files.volved.com/qsr/ut2004_map_packs/cbp1.zip"
-
-LICENSE="freedist"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
diff --git a/games-fps/ut2004-bonuspack-cbp1/ut2004-bonuspack-cbp1-1-r3.ebuild b/games-fps/ut2004-bonuspack-cbp1/ut2004-bonuspack-cbp1-1-r3.ebuild
new file mode 100644
index 000000000000..fefd2792ecc6
--- /dev/null
+++ b/games-fps/ut2004-bonuspack-cbp1/ut2004-bonuspack-cbp1-1-r3.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="UT2003 Community Bonus Pack for UT2004 Volume 1"
+HOMEPAGE="https://liandri.beyondunreal.com/Unreal_Tournament_2004"
+SRC_URI="https://ut2004.ut-files.com/BonusPacks/cbp1.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 )"
+
+S="${WORKDIR}"
+
+src_install() {
+ insinto /opt/ut2004
+ doins -r *
+}