From 484583ea11d53ea4dfacb8a53201ce23cb4e98dd Mon Sep 17 00:00:00 2001 From: "Azamat H. Hackimov" Date: Sat, 29 Feb 2020 01:40:48 +0300 Subject: games-arcade/stealthbastarddeluxe: update package Migrate from deprecated eclass. Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Azamat H. Hackimov --- .../stealthbastarddeluxe-1.63.4.ebuild | 40 ++++++++-------------- 1 file changed, 14 insertions(+), 26 deletions(-) (limited to 'games-arcade') diff --git a/games-arcade/stealthbastarddeluxe/stealthbastarddeluxe-1.63.4.ebuild b/games-arcade/stealthbastarddeluxe/stealthbastarddeluxe-1.63.4.ebuild index 8b1d1e2..606e82e 100644 --- a/games-arcade/stealthbastarddeluxe/stealthbastarddeluxe-1.63.4.ebuild +++ b/games-arcade/stealthbastarddeluxe/stealthbastarddeluxe-1.63.4.ebuild @@ -1,44 +1,33 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -# $Header: $ -EAPI="5" +EAPI=7 -inherit games +inherit desktop eutils multilib-minimal TS=1371673270 MY_PN=StealthBastardDeluxe -DESCRIPTION="The fast-paced, nail-biting antidote to tippy-toed sneaking simulators that the world had so desperately been craving." +DESCRIPTION="The fast-paced, nail-biting antidote to tippy-toed sneaking simulators." HOMEPAGE="http://www.stealthbastard.com/" SRC_URI="${MY_PN}_${PV}_Linux_${TS}.tar.gz" -LICENSE="as-is" +LICENSE="all-rights-reserved" SLOT="0" KEYWORDS="-* ~amd64 ~x86" IUSE="" RESTRICT="fetch strip" -DEPEND="" RDEPEND=" - ${DEPEND} - x86? ( - dev-libs/openssl - media-libs/openal - sys-libs/zlib - x11-libs/libX11 - x11-libs/libXxf86vm - ) - amd64? ( - app-emulation/emul-linux-x86-baselibs - app-emulation/emul-linux-x86-sdl - app-emulation/emul-linux-x86-xlibs - ) + dev-libs/openssl[${MULTILIB_USEDEP}] + media-libs/openal[${MULTILIB_USEDEP}] + sys-libs/zlib[${MULTILIB_USEDEP}] + x11-libs/libX11[${MULTILIB_USEDEP}] + x11-libs/libXxf86vm[${MULTILIB_USEDEP}] " S="${WORKDIR}/${MY_PN}" -GAMEDIR="${GAMES_PREFIX_OPT}/${PN}" pkg_nofetch() { einfo "Please download ${A}" @@ -48,13 +37,12 @@ pkg_nofetch() { } src_install() { - insinto "${GAMEDIR}" + local dir="/opt/${PN}" + insinto ${dir} doins -r assets - exeinto "${GAMEDIR}" + exeinto ${dir} doexe "${MY_PN}" - games_make_wrapper "${PN}" "./${MY_PN}" "${GAMEDIR}" + make_wrapper "${PN}" "./${MY_PN}" "${dir}" newicon "assets/icon.png" "${PN}.png" make_desktop_entry "${PN}" "${MY_PN}" "${PN}" - - prepgamesdirs } -- cgit v1.2.3-65-gdbad