1 |
commit: 7c2d1e40419001632f0c0583de144e6c4f744976 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 20 21:57:19 2019 +0000 |
4 |
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 27 23:47:59 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c2d1e40 |
7 |
|
8 |
games-fps/ut2004-bonuspack-ece: Port to EAPI 7 |
9 |
|
10 |
Package-Manager: Portage-2.3.77, Repoman-2.3.17 |
11 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
12 |
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> |
13 |
|
14 |
...-r3.ebuild => ut2004-bonuspack-ece-1-r4.ebuild} | 32 +++++++++++++++------- |
15 |
1 file changed, 22 insertions(+), 10 deletions(-) |
16 |
|
17 |
diff --git a/games-fps/ut2004-bonuspack-ece/ut2004-bonuspack-ece-1-r3.ebuild b/games-fps/ut2004-bonuspack-ece/ut2004-bonuspack-ece-1-r4.ebuild |
18 |
similarity index 79% |
19 |
rename from games-fps/ut2004-bonuspack-ece/ut2004-bonuspack-ece-1-r3.ebuild |
20 |
rename to games-fps/ut2004-bonuspack-ece/ut2004-bonuspack-ece-1-r4.ebuild |
21 |
index e5ebe2ab3b9..5460ac93230 100644 |
22 |
--- a/games-fps/ut2004-bonuspack-ece/ut2004-bonuspack-ece-1-r3.ebuild |
23 |
+++ b/games-fps/ut2004-bonuspack-ece/ut2004-bonuspack-ece-1-r4.ebuild |
24 |
@@ -1,29 +1,34 @@ |
25 |
-# Copyright 1999-2017 Gentoo Foundation |
26 |
+# Copyright 1999-2019 Gentoo Authors |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
|
29 |
-EAPI=5 |
30 |
- |
31 |
-MOD_DESC="Editor's Choice Edition bonus pack" |
32 |
-MOD_NAME="Editor's Choice Edition" |
33 |
- |
34 |
-inherit games games-mods |
35 |
+EAPI=7 |
36 |
|
37 |
MY_P="ut2004megapack-linux.tar.bz2" |
38 |
+ |
39 |
+DESCRIPTION="UT2004 Editor's Choice Edition - Editor's Choice Edition bonus pack" |
40 |
HOMEPAGE="http://www.unrealtournament2004.com/" |
41 |
-SRC_URI="http://ut2004.ut-files.com/BonusPacks/${MY_P} |
42 |
+SRC_URI=" |
43 |
+ http://ut2004.ut-files.com/BonusPacks/${MY_P} |
44 |
http://unrealmassdestruction.com/downloads/ut2k4/essentials/UT2004-ONSBonusMapPack.zip" |
45 |
|
46 |
LICENSE="ut2003" |
47 |
+SLOT="0" |
48 |
KEYWORDS="~amd64 ~x86" |
49 |
-IUSE="" |
50 |
+ |
51 |
+BDEPEND="app-arch/unzip" |
52 |
+ |
53 |
+S="${WORKDIR}" |
54 |
|
55 |
src_unpack() { |
56 |
- unpack ${MY_P} |
57 |
+ unpack "${MY_P}" |
58 |
+ |
59 |
cd UT2004MegaPack/Maps || die |
60 |
unpack UT2004-ONSBonusMapPack.zip # bug #278002 |
61 |
} |
62 |
|
63 |
src_prepare() { |
64 |
+ default |
65 |
+ |
66 |
mv -f UT2004MegaPack/* . || die |
67 |
rmdir UT2004MegaPack || die |
68 |
|
69 |
@@ -54,3 +59,10 @@ src_prepare() { |
70 |
rm System/{Core.int,Engine.int,Setup.int,Window.int} || die |
71 |
rm System/{OnslaughtFull.u,OnslaughtBP.u} || die |
72 |
} |
73 |
+ |
74 |
+src_install() { |
75 |
+ insinto /opt/ut2004 |
76 |
+ doins -r Animations Help Maps Sounds StaticMeshes System Textures |
77 |
+ |
78 |
+ dosym ut2004 /opt/ut2004-ded |
79 |
+} |