summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-18 07:25:04 +0100
committerSam James <sam@gentoo.org>2021-04-18 07:31:32 +0100
commit6c81c51ba01fffd9a8190d60c1749eb98cf09a89 (patch)
treeaa4d8bac9ac759a280c52c12b4c0a3831c15ae5a /games-fps
parentgames-arcade/thinktanks-demo: update SRC_URI (diff)
downloadgentoo-6c81c51ba01fffd9a8190d60c1749eb98cf09a89.tar.gz
gentoo-6c81c51ba01fffd9a8190d60c1749eb98cf09a89.tar.bz2
gentoo-6c81c51ba01fffd9a8190d60c1749eb98cf09a89.zip
games-fps/urbanterror-data: port to EAPI 7, fix MissingLicenseRestricts
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-fps')
-rw-r--r--games-fps/urbanterror-data/urbanterror-data-4.3.4.ebuild18
1 files changed, 8 insertions, 10 deletions
diff --git a/games-fps/urbanterror-data/urbanterror-data-4.3.4.ebuild b/games-fps/urbanterror-data/urbanterror-data-4.3.4.ebuild
index a3c4a290fb5a..cb0421234916 100644
--- a/games-fps/urbanterror-data/urbanterror-data-4.3.4.ebuild
+++ b/games-fps/urbanterror-data/urbanterror-data-4.3.4.ebuild
@@ -1,21 +1,23 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="6"
+EAPI=7
+
+CHECKREQS_DISK_BUILD="3300M"
+CHECKREQS_DISK_USR="1400M"
inherit check-reqs
ENGINE_PV=${PV}
-
MY_PN=UrbanTerror
MY_PV=43_full
DESCRIPTION="Data files for UrbanTerror"
HOMEPAGE="https://www.urbanterror.info"
-
# load the base image and save it as .0 file
# use 43_full-2.zip as upstream fixed something back then
SRC_URI="https://up.barbatos.fr/urt/${MY_PN}${MY_PV}_2.zip -> ${PN}-4.3.0.zip"
+S="${WORKDIR}/${MY_PN}43"
# fetch updates recursively for |4.3.x-4.3.0|
if [[ "${PV}" != "4.3.0" ]]; then
@@ -30,13 +32,9 @@ unset MY_CTR
LICENSE="Q3AEULA-20000111 urbanterror-4.2-maps"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-RESTRICT="bindist"
-DEPEND="app-arch/unzip"
-
-S="${WORKDIR}/${MY_PN}43"
+RESTRICT="bindist mirror"
-CHECKREQS_DISK_BUILD="3300M"
-CHECKREQS_DISK_USR="1400M"
+BDEPEND="app-arch/unzip"
src_prepare() {
default