commit:     484583ea11d53ea4dfacb8a53201ce23cb4e98dd
Author:     Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Fri Feb 28 22:40:48 2020 +0000
Commit:     Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
CommitDate: Fri Feb 28 22:40:48 2020 +0000
URL:        https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=484583ea

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 <azamat.hackimov <AT> gmail.com>

 .../stealthbastarddeluxe-1.63.4.ebuild             | 40 ++++++++--------------
 1 file changed, 14 insertions(+), 26 deletions(-)

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
 }

Reply via email to