From: "James Le Cuirot" <chewi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-fps/ut2004-bonuspack-mega/
Date: Sun, 27 Oct 2019 23:49:23 +0000 (UTC) [thread overview]
Message-ID: <1572220090.cec35860f131629b293e67eb3c245fd7f4bcea92.chewi@gentoo> (raw)
commit: cec35860f131629b293e67eb3c245fd7f4bcea92
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 20 21:57:19 2019 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sun Oct 27 23:48:10 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cec35860
games-fps/ut2004-bonuspack-mega: Port to EAPI 7
Package-Manager: Portage-2.3.77, Repoman-2.3.17
Signed-off-by: David Seifert <soap <AT> gentoo.org>
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
.../ut2004-bonuspack-mega-1-r2.ebuild | 38 ------------------
.../ut2004-bonuspack-mega-1-r3.ebuild | 46 ++++++++++++++++++++++
2 files changed, 46 insertions(+), 38 deletions(-)
diff --git a/games-fps/ut2004-bonuspack-mega/ut2004-bonuspack-mega-1-r2.ebuild b/games-fps/ut2004-bonuspack-mega/ut2004-bonuspack-mega-1-r2.ebuild
deleted file mode 100644
index 807f91c6bf0..00000000000
--- a/games-fps/ut2004-bonuspack-mega/ut2004-bonuspack-mega-1-r2.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-MOD_DESC="Megapack bonus pack"
-MOD_NAME="Megapack"
-
-inherit games games-mods
-
-MY_P="ut2004megapack-linux.tar.bz2"
-HOMEPAGE="http://www.unrealtournament2004.com/"
-SRC_URI="http://ut2004.ut-files.com/BonusPacks/${MY_P}"
-
-LICENSE="ut2003"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-src_prepare() {
- mv -f UT2004MegaPack/* . || die
- rmdir UT2004MegaPack
-
- # Remove files in Megapack which are already installed
- rm -r Animations Speech Web
-
- rm Help/{ReadMePatch.int.txt,UT2004Logo.bmp}
- mv Help/BonusPackReadme.txt Help/MegapackReadme.txt
-
- rm Maps/ONS-{Adara,IslandHop,Tricky,Urban}.ut2
- rm Sounds/{CicadaSnds,DistantBooms,ONSBPSounds}.uax
- rm StaticMeshes/{BenMesh02,BenTropicalSM01,HourAdara,ONS-BPJW1,PC_UrbanStatic}.usx
-
- # System
- rm System/{AL,AS-,B,b,C,D,E,F,G,I,L,O,o,S,s,U,V,W,X,x}*
- rm System/{ucc,ut2004}-bin
- rm System/{ucc,ut2004}-bin-linux-amd64
- rm Textures/{AW-2k4XP,BenTex02,BenTropical01,BonusParticles,CicadaTex,Construction_S,HourAdaraTexor,jwfasterfiles,ONSBP_DestroyedVehicles,ONSBPTextures,PC_UrbanTex,UT2004ECEPlayerSkins}.utx
-}
diff --git a/games-fps/ut2004-bonuspack-mega/ut2004-bonuspack-mega-1-r3.ebuild b/games-fps/ut2004-bonuspack-mega/ut2004-bonuspack-mega-1-r3.ebuild
new file mode 100644
index 00000000000..4beb21b3c8a
--- /dev/null
+++ b/games-fps/ut2004-bonuspack-mega/ut2004-bonuspack-mega-1-r3.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="UT2004 Megapack - Megapack bonus pack"
+HOMEPAGE="http://www.unrealtournament2004.com/"
+SRC_URI="http://ut2004.ut-files.com/BonusPacks/ut2004megapack-linux.tar.bz2"
+
+LICENSE="ut2003"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+BDEPEND="app-arch/unzip"
+
+S="${WORKDIR}"
+
+src_prepare() {
+ default
+
+ mv -f UT2004MegaPack/* . || die
+ rmdir UT2004MegaPack || die
+
+ # Remove files in Megapack which are already installed
+ rm -r Animations Speech Web || die
+
+ rm Help/{ReadMePatch.int.txt,UT2004Logo.bmp} || die
+ mv Help/BonusPackReadme.txt Help/MegapackReadme.txt || die
+
+ rm Maps/ONS-{Adara,IslandHop,Tricky,Urban}.ut2 || die
+ rm Sounds/{CicadaSnds,DistantBooms,ONSBPSounds}.uax || die
+ rm StaticMeshes/{BenMesh02,BenTropicalSM01,HourAdara,ONS-BPJW1,PC_UrbanStatic}.usx || die
+
+ # System
+ rm System/{AL,AS-,B,b,C,D,E,F,G,I,L,O,o,S,s,U,V,W,X,x}* || die
+ rm System/{ucc,ut2004}-bin || die
+ rm System/{ucc,ut2004}-bin-linux-amd64 || die
+ rm Textures/{AW-2k4XP,BenTex02,BenTropical01,BonusParticles,CicadaTex,Construction_S,HourAdaraTexor,jwfasterfiles,ONSBP_DestroyedVehicles,ONSBPTextures,PC_UrbanTex,UT2004ECEPlayerSkins}.utx || die
+}
+
+src_install() {
+ insinto /opt/ut2004
+ doins -r Help Maps Music Sounds StaticMeshes System Textures
+
+ dosym ut2004 /opt/ut2004-ded
+}
next reply other threads:[~2019-10-27 23:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-27 23:49 James Le Cuirot [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-04-18 6:31 [gentoo-commits] repo/gentoo:master commit in: games-fps/ut2004-bonuspack-mega/ Sam James
2017-02-11 22:01 James Le Cuirot
2016-01-10 1:17 Michael Sterrett
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1572220090.cec35860f131629b293e67eb3c245fd7f4bcea92.chewi@gentoo \
--to=chewi@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox