From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CA64A13835B for ; Fri, 9 Apr 2021 19:33:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 76F81E0882; Fri, 9 Apr 2021 19:33:46 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 61359E0882 for ; Fri, 9 Apr 2021 19:33:46 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B19AF33D3C5 for ; Fri, 9 Apr 2021 19:33:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1DD12646 for ; Fri, 9 Apr 2021 19:33:43 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1617996691.27c7624d158e5b26e53564911c696165bc749b96.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-fps/ut2003-bonuspack-epic/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-fps/ut2003-bonuspack-epic/ut2003-bonuspack-epic-1-r1.ebuild games-fps/ut2003-bonuspack-epic/ut2003-bonuspack-epic-1.ebuild X-VCS-Directories: games-fps/ut2003-bonuspack-epic/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 27c7624d158e5b26e53564911c696165bc749b96 X-VCS-Branch: master Date: Fri, 9 Apr 2021 19:33:43 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 207ebb3a-28f7-4b2a-a44b-9042f9464fb9 X-Archives-Hash: b88dec30461faec8613ced7896fc40ce commit: 27c7624d158e5b26e53564911c696165bc749b96 Author: Sam James gentoo org> AuthorDate: Fri Apr 9 19:24:24 2021 +0000 Commit: Sam James gentoo 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 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 }