From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-fps/quake2-textures/
Date: Wed, 7 Apr 2021 01:58:21 +0000 (UTC) [thread overview]
Message-ID: <1617760653.a0d11d7445ba7bebaeeaf0793d41e6e2ec21bd21.sam@gentoo> (raw)
commit: a0d11d7445ba7bebaeeaf0793d41e6e2ec21bd21
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 7 01:11:56 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Apr 7 01:57:33 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0d11d74
games-fps/quake2-textures: port to EAPI 7, games.eclass--
Signed-off-by: Sam James <sam <AT> gentoo.org>
...a8.ebuild => quake2-textures-0_beta8-r1.ebuild} | 23 +++++++---------------
1 file changed, 7 insertions(+), 16 deletions(-)
diff --git a/games-fps/quake2-textures/quake2-textures-0_beta8.ebuild b/games-fps/quake2-textures/quake2-textures-0_beta8-r1.ebuild
similarity index 62%
rename from games-fps/quake2-textures/quake2-textures-0_beta8.ebuild
rename to games-fps/quake2-textures/quake2-textures-0_beta8-r1.ebuild
index 7c3cf383251..c26a14c1fc5 100644
--- a/games-fps/quake2-textures/quake2-textures-0_beta8.ebuild
+++ b/games-fps/quake2-textures/quake2-textures-0_beta8-r1.ebuild
@@ -1,40 +1,31 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit eutils versionator games
+EAPI=7
-MY_PV=$(get_version_component_range 2-2)
+MY_PV=$(ver_cut 2-)
MY_PV=${MY_PV/beta/}
DESCRIPTION="High-resolution textures for Quake 2"
HOMEPAGE="http://jdolan.tastyspleen.net/"
SRC_URI="http://jdolan.tastyspleen.net/pak${MY_PV}.zip"
+S="${WORKDIR}"
LICENSE="all-rights-reserved"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
-RESTRICT="mirror bindist"
-RDEPEND=""
-DEPEND="app-arch/unzip"
+RESTRICT="bindist mirror"
-S=${WORKDIR}
-dir=${GAMES_DATADIR}/quake2
+BDEPEND="app-arch/unzip"
src_install() {
- insinto "${dir}"/baseq2
+ insinto /usr/share/quake2/baseq2
doins *.pak
-
dodoc README
-
- prepgamesdirs
}
pkg_postinst() {
- games_pkg_postinst
-
elog "Use a recent Quake 2 client to take advantage of"
elog "these textures, e.g. qudos or quake2-icculus."
echo
next reply other threads:[~2021-04-07 1:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-07 1:58 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-11-25 14:19 [gentoo-commits] repo/gentoo:master commit in: games-fps/quake2-textures/ Patrick Lauer
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=1617760653.a0d11d7445ba7bebaeeaf0793d41e6e2ec21bd21.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