summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-04 08:08:13 +0000
committerSam James <sam@gentoo.org>2021-04-04 08:13:04 +0000
commita3ecc3497d6a64d745fde6635fed8f552982c71a (patch)
treebc2482280be0a5212e87db715414c758a55d931f /games-action
parentgames-arcade/gav: desktop-- (diff)
downloadgentoo-a3ecc3497d6a64d745fde6635fed8f552982c71a.tar.gz
gentoo-a3ecc3497d6a64d745fde6635fed8f552982c71a.tar.bz2
gentoo-a3ecc3497d6a64d745fde6635fed8f552982c71a.zip
games-action/fakk2: port to EAPI 7, eutils--, desktop++, wrapper++
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-action')
-rw-r--r--games-action/fakk2/fakk2-1.02-r1.ebuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/games-action/fakk2/fakk2-1.02-r1.ebuild b/games-action/fakk2/fakk2-1.02-r1.ebuild
index f7e669e552d3..1a6244a87e01 100644
--- a/games-action/fakk2/fakk2-1.02-r1.ebuild
+++ b/games-action/fakk2/fakk2-1.02-r1.ebuild
@@ -1,12 +1,14 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-inherit eutils cdrom
+EAPI=7
+
+inherit cdrom desktop wrapper
DESCRIPTION="3D third-person action shooter based on the Heavy Metal comics/movies"
HOMEPAGE="http://www.lokigames.com/products/fakk2/"
SRC_URI=""
+S="${WORKDIR}"
LICENSE="LOKI-EULA"
SLOT="0"
@@ -16,8 +18,6 @@ RESTRICT="strip bindist"
RDEPEND="virtual/opengl"
-S=${WORKDIR}
-
dir=/opt/${PN}
Ddir=${D}/${dir}
@@ -45,7 +45,7 @@ src_install() {
# Now, since these files are coming off a cd, the times/sizes/md5sums won't
# be different ... that means portage will try to unmerge some files (!)
# So, we run touch on ${D} to make sure portage doesn't do any such thing
- find "${Ddir}" -exec touch '{}' \;
+ find "${Ddir}" -exec touch '{}' \; || die
make_wrapper ${PN} ./${PN} "${dir}" "${dir}"
newicon ${CDROM_ROOT}/icon.xpm ${PN}.xpm