summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2019-06-30 10:22:19 +0200
committerPacho Ramos <pacho@gentoo.org>2019-06-30 10:22:19 +0200
commit440af8b71c7a0574a043b6c7112ce3416ea65ee4 (patch)
treed59046c0718d7fbe88d9ed55e8d5fbd9dacb2c43 /games-strategy
parentgames-fps/etqw-data: Stop using games.eclass (diff)
downloadgentoo-440af8b71c7a0574a043b6c7112ce3416ea65ee4.tar.gz
gentoo-440af8b71c7a0574a043b6c7112ce3416ea65ee4.tar.bz2
gentoo-440af8b71c7a0574a043b6c7112ce3416ea65ee4.zip
games-strategy/spaz: Stop using games.eclass
Package-Manager: Portage-2.3.67, Repoman-2.3.14 Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/spaz/spaz-1.605-r1.ebuild (renamed from games-strategy/spaz/spaz-1.605.ebuild)24
1 files changed, 12 insertions, 12 deletions
diff --git a/games-strategy/spaz/spaz-1.605.ebuild b/games-strategy/spaz/spaz-1.605-r1.ebuild
index 943dbedf3779..98f1843747b1 100644
--- a/games-strategy/spaz/spaz-1.605.ebuild
+++ b/games-strategy/spaz/spaz-1.605-r1.ebuild
@@ -1,12 +1,11 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=4
-
-inherit unpacker games
+EAPI=7
+inherit desktop eutils unpacker
DESCRIPTION="Space Pirates and Zombies"
-HOMEPAGE="http://spacepiratesandzombies.com"
+HOMEPAGE="http://minmax-games.com/SpacePiratesAndZombies/"
SRC_URI="${PN}-linux-humblebundle-09182012-bin"
LICENSE="LOKI-EULA"
SLOT="0"
@@ -14,9 +13,12 @@ KEYWORDS="-* ~amd64 ~x86"
IUSE="alsa pulseaudio"
RESTRICT="bindist fetch strip"
-DEPEND="app-arch/unzip"
-RDEPEND=">=media-libs/openal-1.15.1[alsa?,pulseaudio?,abi_x86_32(-)]
- >=media-libs/libsdl-1.2.15-r4[abi_x86_32(-)]"
+DEPEND=""
+BDEPEND="app-arch/unzip"
+RDEPEND="
+ >=media-libs/openal-1.15.1[alsa?,pulseaudio?,abi_x86_32(-)]
+ >=media-libs/libsdl-1.2.15-r4[abi_x86_32(-)]
+"
S="${WORKDIR}"/data
@@ -27,7 +29,7 @@ src_unpack() {
}
src_install() {
- local dir="${GAMES_PREFIX_OPT}/${PN}"
+ local dir="/opt/${PN}"
insinto "${dir}"
exeinto "${dir}"
@@ -37,8 +39,6 @@ src_install() {
newicon SPAZ.png spaz.png
dodoc README-linux.txt
- games_make_wrapper ${PN} ./SPAZ "${dir}" "${dir}"
+ make_wrapper ${PN} ./SPAZ "${dir}" "${dir}"
make_desktop_entry ${PN} "Space Pirates and Zombies" ${PN}
-
- prepgamesdirs
}