commit:     da3713fe12af34a5253482951e3b6325b58b930d
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 24 21:24:26 2019 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sun Oct 27 23:48:16 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da3713fe

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 <AT> gentoo.org>

 .../ut2004-bonuspack-cbp1-1-r2.ebuild              | 17 -----------------
 .../ut2004-bonuspack-cbp1-1-r3.ebuild              | 22 ++++++++++++++++++++++
 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 3a2c9a8576d..00000000000
--- 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 00000000000..fefd2792ecc
--- /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 *
+}

Reply via email to