commit:     0279911fa4385ce9d6b38e826f698f4710822adf
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Apr  4 05:27:52 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Apr  4 06:32:46 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0279911f

games-fps/quake1-killer: port to EAPI 7, games.eclass--

Signed-off-by: Sam James <sam <AT> gentoo.org>

 ...-killer-2.2z.ebuild => quake1-killer-2.2z-r1.ebuild} | 17 ++++++-----------
 1 file changed, 6 insertions(+), 11 deletions(-)

diff --git a/games-fps/quake1-killer/quake1-killer-2.2z.ebuild 
b/games-fps/quake1-killer/quake1-killer-2.2z-r1.ebuild
similarity index 66%
rename from games-fps/quake1-killer/quake1-killer-2.2z.ebuild
rename to games-fps/quake1-killer/quake1-killer-2.2z-r1.ebuild
index 258296f7f51..f7b2c4a6652 100644
--- a/games-fps/quake1-killer/quake1-killer-2.2z.ebuild
+++ b/games-fps/quake1-killer/quake1-killer-2.2z-r1.ebuild
@@ -1,31 +1,26 @@
-# Copyright 1999-2017 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="The Killer Quake Patch"
 HOMEPAGE="http://kqp.horoy.com/";
 SRC_URI="http://www.gamers.org/pub/idgames2/quakec/compilations/kqp220z.zip
        mirror://gentoo/kqp220z.zip"
+S="${WORKDIR}"
 
 LICENSE="quake1-killer"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
 
-RDEPEND=""
-DEPEND="app-arch/unzip"
-
-S=${WORKDIR}
+BDEPEND="app-arch/unzip"
 
 src_unpack() {
-       echo ">>> Unpacking kqp220z.zip to ${PWD}"
+       elog "Unpacking kqp220z.zip to ${PWD}"
        unzip -qoL "${DISTDIR}"/kqp220z.zip || die "unpacking kqp220z.zip 
failed"
 }
 
 src_install() {
-       insinto "${GAMES_DATADIR}/quake1/killer"
+       insinto /usr/share/quake1/killer
        doins -r *
-       prepgamesdirs
 }

Reply via email to