From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-fps/ut2003-bonuspack-epic/
Date: Fri, 9 Apr 2021 19:33:43 +0000 (UTC) [thread overview]
Message-ID: <1617996691.27c7624d158e5b26e53564911c696165bc749b96.sam@gentoo> (raw)
commit: 27c7624d158e5b26e53564911c696165bc749b96
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 9 19:24:24 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Apr 9 19:31:31 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27c7624d
games-fps/ut2003-bonuspack-epic: port to EAPI 7, games.eclass--
Signed-off-by: Sam James <sam <AT> gentoo.org>
...-1.ebuild => ut2003-bonuspack-epic-1-r1.ebuild} | 26 ++++++++++------------
1 file changed, 12 insertions(+), 14 deletions(-)
diff --git a/games-fps/ut2003-bonuspack-epic/ut2003-bonuspack-epic-1.ebuild b/games-fps/ut2003-bonuspack-epic/ut2003-bonuspack-epic-1-r1.ebuild
similarity index 88%
rename from games-fps/ut2003-bonuspack-epic/ut2003-bonuspack-epic-1.ebuild
rename to games-fps/ut2003-bonuspack-epic/ut2003-bonuspack-epic-1-r1.ebuild
index 00d2d8927ee..70fff75aec7 100644
--- a/games-fps/ut2003-bonuspack-epic/ut2003-bonuspack-epic-1.ebuild
+++ b/games-fps/ut2003-bonuspack-epic/ut2003-bonuspack-epic-1-r1.ebuild
@@ -1,29 +1,30 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit games
+EAPI=7
DESCRIPTION="Epic Bonus Pack for UT2003"
HOMEPAGE="https://www.moddb.com/games/unreal-tournament-2003"
SRC_URI="http://ftp.student.utwente.nl/pub/games/UT2003/BonusPack/UT2003-epicbonuspackone.exe"
+S="${WORKDIR}"/UT2003-BonusPack
LICENSE="ut2003"
SLOT="1"
KEYWORDS="~x86"
-IUSE=""
RESTRICT="strip"
-DEPEND="app-arch/unzip"
-RDEPEND="games-fps/ut2003"
+RDEPEND="
+ acct-group/gamestat
+ games-fps/ut2003
+"
+BDEPEND="app-arch/unzip"
-S=${WORKDIR}/UT2003-BonusPack
-
-dir=${GAMES_PREFIX_OPT}/ut2003
-Ddir=${D}/${dir}
+dir=opt/ut2003
+Ddir="${ED}"/${dir}
src_unpack() {
unzip -qq "${DISTDIR}"/${A} || die
+
# This is done since the files are the same
rm -f "${S}"/Textures/LastManStanding.utx || die
}
@@ -39,12 +40,9 @@ src_install() {
cp -r "${S}"/{Maps,Sounds,StaticMeshes,Textures} "${Ddir}" || die
cp "${S}"/System/{*.{det,est,frt,int,itt,kot,tmt,u},User.ini} "${Ddir}"/System || die
cp -v "${S}"/System/Manifest.ini "${Ddir}"/System/Manifest.ini.epic || die
-
- prepgamesdirs
}
pkg_postinst() {
- games_pkg_postinst
elog "You will need to run:"
elog "emerge --config =${CATEGORY}/${PF}"
elog "to make the necessary changes to the system .ini files."
@@ -106,5 +104,5 @@ EOT
cp DefUser.ini DefUser.ini.pre-epic || die
sed -i 's/^F11=.*$/F11=MusicMenu/g' DefUser.ini || die
- chown games:games ${dir}/System/*.ini || die
+ chown :gamestat "${dir}"/System/*.ini || die
}
next reply other threads:[~2021-04-09 19:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-09 19:33 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-04-09 19:33 [gentoo-commits] repo/gentoo:master commit in: games-fps/ut2003-bonuspack-epic/ Sam James
2018-05-26 9:55 David Seifert
2016-01-12 20:51 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=1617996691.27c7624d158e5b26e53564911c696165bc749b96.sam@gentoo \
--to=sam@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