summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-09-04 21:12:35 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2023-09-04 23:24:28 +0200
commit2d10df2a823d5d57edbdfa86a7e52a78d0104a55 (patch)
tree7c2b0fc065129da28c67b08a0c83ccda824a9f03 /games-arcade
parentdev-libs/log4cplus: update EAPI 7 -> 8 (diff)
downloadgentoo-2d10df2a823d5d57edbdfa86a7e52a78d0104a55.tar.gz
gentoo-2d10df2a823d5d57edbdfa86a7e52a78d0104a55.tar.bz2
gentoo-2d10df2a823d5d57edbdfa86a7e52a78d0104a55.zip
games-arcade/savagewheels: update EAPI 7 -> 8
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/savagewheels/savagewheels-1.6.1-r2.ebuild14
1 files changed, 5 insertions, 9 deletions
diff --git a/games-arcade/savagewheels/savagewheels-1.6.1-r2.ebuild b/games-arcade/savagewheels/savagewheels-1.6.1-r2.ebuild
index b52e1e1467e6..529643c86ba3 100644
--- a/games-arcade/savagewheels/savagewheels-1.6.1-r2.ebuild
+++ b/games-arcade/savagewheels/savagewheels-1.6.1-r2.ebuild
@@ -1,15 +1,13 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
+GAMEDATA="${PN}-gamedata-1.4.0"
inherit cmake
DESCRIPTION="2D car crashing game similar to the old classic Destruction Derby"
HOMEPAGE="https://github.com/kenamick/savagewheels"
-
-GAMEDATA="${PN}-gamedata-1.4.0"
-
SRC_URI="
https://github.com/kenamick/savagewheels/archive/${PV}.tar.gz -> ${P}.tar.gz
https://github.com/kenamick/savagewheels/releases/download/v1.4/${PN}-gamedata.tar.gz -> ${GAMEDATA}.tar.gz
@@ -30,10 +28,8 @@ src_unpack() {
unpack ${P}.tar.gz
cp "${FILESDIR}/${PN}.in" "${S}" || die
- mkdir "${WORKDIR}/${GAMEDATA}" ||
- die "Failed to make directory: ${WORKDIR}/${GAMEDATA}"
- cd "${WORKDIR}/${GAMEDATA}" ||
- die "Unable to change into directory: ${WORKDIR}/${GAMEDATA}"
+ mkdir "${WORKDIR}/${GAMEDATA}" || die
+ cd "${WORKDIR}/${GAMEDATA}" || die
unpack "${GAMEDATA}.tar.gz"
}