summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <mmk@levelnine.at>2021-06-21 18:55:15 +0200
committerIonen Wolkens <ionen@gentoo.org>2021-06-23 21:54:00 -0400
commitc9981ac0a9756cee94c0599eaa123d98c3bd5870 (patch)
tree3d5b3dabb0b26ee6b561cb4b453319e19efac1af /games-rpg
parentgames-puzzle/wmpuzzle: EAPI7, eclass updates (diff)
downloadgentoo-c9981ac0a9756cee94c0599eaa123d98c3bd5870.tar.gz
gentoo-c9981ac0a9756cee94c0599eaa123d98c3bd5870.tar.bz2
gentoo-c9981ac0a9756cee94c0599eaa123d98c3bd5870.zip
games-rpg/bass: EAPI7, minor updates
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'games-rpg')
-rw-r--r--games-rpg/bass/bass-1.3-r1.ebuild22
1 files changed, 10 insertions, 12 deletions
diff --git a/games-rpg/bass/bass-1.3-r1.ebuild b/games-rpg/bass/bass-1.3-r1.ebuild
index 57359be0e1bf..4c3c378b760e 100644
--- a/games-rpg/bass/bass-1.3-r1.ebuild
+++ b/games-rpg/bass/bass-1.3-r1.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-inherit desktop eutils
+EAPI=7
+
+inherit desktop wrapper
DESCRIPTION="Beneath a Steel Sky: a SciFi thriller set in a bleak vision of the future"
HOMEPAGE="https://en.wikipedia.org/wiki/Beneath_a_Steel_Sky"
@@ -11,29 +12,26 @@ CD_VERSION="1.2"
SRC_URI="http://downloads.sourceforge.net/scummvm/BASS-Floppy-${PV}.zip
http://downloads.sourceforge.net/scummvm/bass-cd-${CD_VERSION}.zip
mirror://gentoo/${PN}.png"
+S="${WORKDIR}/"
LICENSE="bass"
SLOT="0"
KEYWORDS="~amd64 ~ppc64 ~x86"
-IUSE=""
RDEPEND=">=games-engines/scummvm-0.5.0"
-DEPEND="${RDEPEND}
- app-arch/unzip
-"
-
-S="${WORKDIR}/"
+DEPEND="${RDEPEND}"
+BDEPEND="app-arch/unzip"
src_install() {
dobin "${FILESDIR}"/scummvmGetLang.sh
insinto /usr/share/${PN}
doins sky.*
- mv bass-cd-"${CD_VERSION}"/readme.txt readme-cd.txt
+ mv bass-cd-"${CD_VERSION}"/readme.txt readme-cd.txt || die
doins -r bass-cd-"${CD_VERSION}"/
- make_wrapper bass "scummvm -f -p \"/usr/share/${PN}\" -q\$(scummvmGetLang.sh) sky" .
- make_wrapper bass-cd "scummvm -f -p \"/usr/share/${PN}/bass-cd-${CD_VERSION}\" -q\$(scummvmGetLang.sh) sky" .
+ make_wrapper bass "scummvm -f -p \"${EPREFIX}/usr/share/${PN}\" -q\$(scummvmGetLang.sh) sky" .
+ make_wrapper bass-cd "scummvm -f -p \"${EPREFIX}/usr/share/${PN}/bass-cd-${CD_VERSION}\" -q\$(scummvmGetLang.sh) sky" .
doicon "${DISTDIR}"/${PN}.png
make_desktop_entry ${PN} "Beneath a Steel Sky (Floppy version)"