From 0279911fa4385ce9d6b38e826f698f4710822adf Mon Sep 17 00:00:00 2001 From: Sam James Date: Sun, 4 Apr 2021 05:27:52 +0000 Subject: games-fps/quake1-killer: port to EAPI 7, games.eclass-- Signed-off-by: Sam James --- .../quake1-killer/quake1-killer-2.2z-r1.ebuild | 26 ++++++++++++++++++ games-fps/quake1-killer/quake1-killer-2.2z.ebuild | 31 ---------------------- 2 files changed, 26 insertions(+), 31 deletions(-) create mode 100644 games-fps/quake1-killer/quake1-killer-2.2z-r1.ebuild delete mode 100644 games-fps/quake1-killer/quake1-killer-2.2z.ebuild (limited to 'games-fps') diff --git a/games-fps/quake1-killer/quake1-killer-2.2z-r1.ebuild b/games-fps/quake1-killer/quake1-killer-2.2z-r1.ebuild new file mode 100644 index 000000000000..f7b2c4a6652c --- /dev/null +++ b/games-fps/quake1-killer/quake1-killer-2.2z-r1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +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" + +BDEPEND="app-arch/unzip" + +src_unpack() { + elog "Unpacking kqp220z.zip to ${PWD}" + unzip -qoL "${DISTDIR}"/kqp220z.zip || die "unpacking kqp220z.zip failed" +} + +src_install() { + insinto /usr/share/quake1/killer + doins -r * +} diff --git a/games-fps/quake1-killer/quake1-killer-2.2z.ebuild b/games-fps/quake1-killer/quake1-killer-2.2z.ebuild deleted file mode 100644 index 258296f7f514..000000000000 --- a/games-fps/quake1-killer/quake1-killer-2.2z.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit games - -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" - -LICENSE="quake1-killer" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND="" -DEPEND="app-arch/unzip" - -S=${WORKDIR} - -src_unpack() { - echo ">>> Unpacking kqp220z.zip to ${PWD}" - unzip -qoL "${DISTDIR}"/kqp220z.zip || die "unpacking kqp220z.zip failed" -} - -src_install() { - insinto "${GAMES_DATADIR}/quake1/killer" - doins -r * - prepgamesdirs -} -- cgit v1.2.3-65-gdbad