1 |
commit: 26a11a4a9dadf835fc72bfc1d446535abe001683 |
2 |
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Oct 24 21:26:16 2019 +0000 |
4 |
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 27 23:48:20 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26a11a4a |
7 |
|
8 |
games-fps/ut2004-bonuspack-cbp2: Fix SRC_URI, drop eclasses, EAPI 7 |
9 |
|
10 |
Package-Manager: Portage-2.3.78, Repoman-2.3.17 |
11 |
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> |
12 |
|
13 |
.../ut2004-bonuspack-cbp2-1-r2.ebuild | 33 ----------------- |
14 |
.../ut2004-bonuspack-cbp2-1-r3.ebuild | 43 ++++++++++++++++++++++ |
15 |
2 files changed, 43 insertions(+), 33 deletions(-) |
16 |
|
17 |
diff --git a/games-fps/ut2004-bonuspack-cbp2/ut2004-bonuspack-cbp2-1-r2.ebuild b/games-fps/ut2004-bonuspack-cbp2/ut2004-bonuspack-cbp2-1-r2.ebuild |
18 |
deleted file mode 100644 |
19 |
index d1d4cee91dd..00000000000 |
20 |
--- a/games-fps/ut2004-bonuspack-cbp2/ut2004-bonuspack-cbp2-1-r2.ebuild |
21 |
+++ /dev/null |
22 |
@@ -1,33 +0,0 @@ |
23 |
-# Copyright 1999-2018 Gentoo Foundation |
24 |
-# Distributed under the terms of the GNU General Public License v2 |
25 |
- |
26 |
-EAPI=5 |
27 |
- |
28 |
-MOD_DESC="Community Bonus Pack 2 Vol 1 and 2" |
29 |
-MOD_NAME="Community Bonus Pack 2 Vol 1 and 2" |
30 |
- |
31 |
-inherit games games-mods |
32 |
- |
33 |
-HOMEPAGE="https://liandri.beyondunreal.com/Unreal_Tournament_2004" |
34 |
-SRC_URI="https://ut.rushbase.net/beyondunreal/official/ut2004/cbp2-volume1_zip.zip |
35 |
- https://ut.rushbase.net/beyondunreal/official/ut2004/cbp2-volume2_zip.zip" |
36 |
- |
37 |
-LICENSE="freedist" |
38 |
-KEYWORDS="~amd64 ~x86" |
39 |
-IUSE="" |
40 |
- |
41 |
-RDEPEND="games-fps/ut2004-bonuspack-cbp1 |
42 |
- games-fps/ut2004-bonuspack-mega" |
43 |
- |
44 |
-src_prepare() { |
45 |
- # Provided by ut2004-bonuspack-cbp1 |
46 |
- rm Music/Soeren.ogg |
47 |
- # Provided by ut2004-bonuspack-mega |
48 |
- rm Textures/Ty_RocketTextures.utx |
49 |
- |
50 |
- cd Help |
51 |
- # Useless orphan file |
52 |
- rm Note.txt |
53 |
- mv GERROIDREADME.txt DOM-CBP2-Gerroid.txt |
54 |
- mv Readme.txt CBP2-Readme.txt |
55 |
-} |
56 |
|
57 |
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 |
58 |
new file mode 100644 |
59 |
index 00000000000..c14a79c5917 |
60 |
--- /dev/null |
61 |
+++ b/games-fps/ut2004-bonuspack-cbp2/ut2004-bonuspack-cbp2-1-r3.ebuild |
62 |
@@ -0,0 +1,43 @@ |
63 |
+# Copyright 1999-2019 Gentoo Authors |
64 |
+# Distributed under the terms of the GNU General Public License v2 |
65 |
+ |
66 |
+EAPI=7 |
67 |
+ |
68 |
+DESCRIPTION="UT2004 Community Bonus Pack 2 Volume 1 and 2" |
69 |
+HOMEPAGE="https://liandri.beyondunreal.com/Unreal_Tournament_2004" |
70 |
+SRC_URI="https://ut2004.ut-files.com/BonusPacks/cbp2-volume1_zip.zip |
71 |
+ https://ut2004.ut-files.com/BonusPacks/cbp2-volume2_zip.zip" |
72 |
+LICENSE="freedist" |
73 |
+SLOT="0" |
74 |
+KEYWORDS="~amd64 ~x86" |
75 |
+RESTRICT="strip" |
76 |
+ |
77 |
+BDEPEND="app-arch/unzip" |
78 |
+RDEPEND="|| ( games-fps/ut2004 >=games-server/ut2004-ded-3369.3-r2 ) |
79 |
+ games-fps/ut2004-bonuspack-cbp1 |
80 |
+ games-fps/ut2004-bonuspack-mega" |
81 |
+ |
82 |
+S="${WORKDIR}" |
83 |
+ |
84 |
+src_prepare() { |
85 |
+ default |
86 |
+ |
87 |
+ # In ut2004-bonuspack-cbp1. |
88 |
+ rm Music/Soeren.ogg || die |
89 |
+ |
90 |
+ # In ut2004-bonuspack-mega. |
91 |
+ rm Textures/Ty_RocketTextures.utx || die |
92 |
+ |
93 |
+ # Useless file. |
94 |
+ rm Help/Note.txt || die |
95 |
+ |
96 |
+ cd Help || die |
97 |
+ mv Readme.txt CBP2-Readme.txt || die |
98 |
+ mv GERROIDREADME.txt DOM-CBP2-Gerroid.txt || die |
99 |
+ mv Tydal.txt DM-CBP2-Tydal.txt || die |
100 |
+} |
101 |
+ |
102 |
+src_install() { |
103 |
+ insinto /opt/ut2004 |
104 |
+ doins -r * |
105 |
+} |