games-fps/ut2004-bonuspack-cbp1: Fix SRC_URI, drop eclasses, EAPI 7
authorJames Le Cuirot <chewi@gentoo.org>
Thu, 24 Oct 2019 21:24:26 +0000 (22:24 +0100)
committerJames Le Cuirot <chewi@gentoo.org>
Sun, 27 Oct 2019 23:48:16 +0000 (23:48 +0000)
Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
games-fps/ut2004-bonuspack-cbp1/ut2004-bonuspack-cbp1-1-r2.ebuild [deleted file]
games-fps/ut2004-bonuspack-cbp1/ut2004-bonuspack-cbp1-1-r3.ebuild [new file with mode: 0644]

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 (file)
index 3a2c9a8..0000000
+++ /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 (file)
index 0000000..fefd279
--- /dev/null
@@ -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 *
+}