summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-06 02:20:15 +0100
committerSam James <sam@gentoo.org>2021-04-06 19:17:52 +0100
commitd7bdb6861f77f6d2e5b5ecd70ca585ba0b8fb9c7 (patch)
tree37607baf57530c518f27d9153bb6cda3f10e2403 /games-arcade/gish-demo
parentgames-fps/etqw-bin: port to EAPI 7, games.eclass-- (diff)
downloadgentoo-d7bdb6861f77f6d2e5b5ecd70ca585ba0b8fb9c7.tar.gz
gentoo-d7bdb6861f77f6d2e5b5ecd70ca585ba0b8fb9c7.tar.bz2
gentoo-d7bdb6861f77f6d2e5b5ecd70ca585ba0b8fb9c7.zip
games-arcade/gish-demo: EAPI 7, eutils--, drop ${GAMES_PREFIX_OPT}
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-arcade/gish-demo')
-rw-r--r--games-arcade/gish-demo/gish-demo-1.6-r1.ebuild18
1 files changed, 8 insertions, 10 deletions
diff --git a/games-arcade/gish-demo/gish-demo-1.6-r1.ebuild b/games-arcade/gish-demo/gish-demo-1.6-r1.ebuild
index 1116e16d52ec..3d80f29f2e3a 100644
--- a/games-arcade/gish-demo/gish-demo-1.6-r1.ebuild
+++ b/games-arcade/gish-demo/gish-demo-1.6-r1.ebuild
@@ -1,37 +1,35 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-inherit eutils
+EAPI=7
+
+inherit wrapper
DESCRIPTION="Play as an amorphous ball of tar that rolls and squishes around"
HOMEPAGE="http://www.chroniclogic.com/gish.htm"
SRC_URI="http://www.chroniclogic.com/demos/gishdemo.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}"/gishdemo
LICENSE="all-rights-reserved"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
-IUSE=""
RESTRICT="mirror bindist strip"
-QA_PREBUILT="${GAMES_PREFIX_OPT:1}/${PN}/gish"
+QA_PREBUILT="opt/${PN}/gish"
RDEPEND="
+ >=media-libs/openal-1.6.372
media-libs/libsdl
media-libs/libvorbis
virtual/opengl
x11-libs/libX11
- >=media-libs/openal-1.6.372
"
-DEPEND=""
-
-S="${WORKDIR}/gishdemo"
src_install() {
local dir=/opt/${PN}
local gishbin=gishdemo
use amd64 && gishbin=gishdemo_64
- insinto "${dir}"
+ insinto ${dir}
doins -r *
fperms +x "${dir}"/${gishbin}
make_wrapper gish ./${gishbin} "${dir}"