Skip to content

Commit

Permalink
games-fps/urbanterror-data: port to EAPI 7, fix MissingLicenseRestricts
Browse files Browse the repository at this point in the history
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed Apr 18, 2021
1 parent 2b6cd96 commit 6c81c51
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions games-fps/urbanterror-data/urbanterror-data-4.3.4.ebuild
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down

0 comments on commit 6c81c51

Please sign in to comment.