summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNils Freydank <holgersson@posteo.de>2018-03-14 22:40:05 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-03-15 23:27:01 +0100
commit9fad0fd6d31e554c83eccdca2d0a9d8b77ec698e (patch)
treed352f54b70eabc4d353d5ac22bbf0565f82d3858 /games-fps/urbanterror-data
parentmedia-libs/exiftool: Bump to 10.85 (diff)
downloadgentoo-9fad0fd6d31e554c83eccdca2d0a9d8b77ec698e.tar.gz
gentoo-9fad0fd6d31e554c83eccdca2d0a9d8b77ec698e.tar.bz2
gentoo-9fad0fd6d31e554c83eccdca2d0a9d8b77ec698e.zip
games-fps/urbanterror-data: Bump to 4.3.3
Package-Manager: Portage-2.3.24, Repoman-2.3.6 Closes: https://github.com/gentoo/gentoo/pull/7465
Diffstat (limited to 'games-fps/urbanterror-data')
-rw-r--r--games-fps/urbanterror-data/Manifest2
-rw-r--r--games-fps/urbanterror-data/urbanterror-data-4.3.3.ebuild65
2 files changed, 67 insertions, 0 deletions
diff --git a/games-fps/urbanterror-data/Manifest b/games-fps/urbanterror-data/Manifest
index 75f0a116fba2..659b3d0b1b46 100644
--- a/games-fps/urbanterror-data/Manifest
+++ b/games-fps/urbanterror-data/Manifest
@@ -1,3 +1,5 @@
DIST urbanterror-data-4.3.0-to-4.3.1.zip 7495315 BLAKE2B a4562c81169274e6f7685c9ca771c0e004ec40aa123d0757794e89c019bbd6e280f22e0929dc6917b0a43d9fe6e6ea90a4f190ce01ff2e6be087299a9bb64cab SHA512 f05564babadff73793778926411bc7914bfef4a5f7dfc1003c36e8a549c568ab520adcff8a38e7dd905238738d242aa865e7c6d7db36ed6d592b144e497ed823
+DIST urbanterror-data-4.3.0.zip 1490106979 BLAKE2B 2bee5e869b3929564cdba268765f6fda67ec1e4fb55209cac3f7b51b418bba287ba22112e5cd4db8ff2aae81ac836a31640760b1e4b24440054f2b2ee4d7e3c3 SHA512 2f54b59355f790a65b3dbd205e9e8b30d41856f5010a55e9e1436a6ec78e986ceecf78c8d84fac1060702c38a7df849f78a2832bdccb91ea46444877635b32ea
DIST urbanterror-data-4.3.1-to-4.3.2.zip 15305498 BLAKE2B d3b21c893dc6f5ce2323ca383ff52c1f6711ba57ab752c30d8fbb76b5d72125427a14fc30127589c5612df34cfda869a0727a838006fd6fc566005a54b7e741d SHA512 cb24939fffef9310c6ca8496d0d4f3be8656685e749ff1d6589fd193990be67ac70494b61ef6a12dd1f6995a78d451b9f09098e03970e82e1e3153ec3f89792c
+DIST urbanterror-data-4.3.2-to-4.3.3.zip 10409736 BLAKE2B edc33e959cd16528ef732ae31335412c7c7741ccc5f106d2c0c6236f180cf9fd9b14a23b5e4a60d91aa9b8c4126fae5f110034216d5d2ae63ab784fc16532730 SHA512 f2100bf11b5dc0dac265f43fe6c8aa0a1e604728ce02b5b6ca770c9145d11bf02a7e2118ff818d1fdb2b9693ddb85eb012814f346337ef14c58c3a4f3e3abb90
DIST urbanterror-data-4.3.2.zip 1491207564 BLAKE2B 3a292079d92895fa28567e8773d504a9f4b179de6d49607e9d589674374690a1fa673b0b8b08790b126140c8e8583ca3ee6f8439ea28e0f868fab6f4bc1a6268 SHA512 397aa5ba7f869049844d52a9dec234d020b856e16ba3ff295d97775e4e1d48730aecfba3992baf7d55c643c0073ceda32ada18d1473dadd55f561f27a8b9c4ed
diff --git a/games-fps/urbanterror-data/urbanterror-data-4.3.3.ebuild b/games-fps/urbanterror-data/urbanterror-data-4.3.3.ebuild
new file mode 100644
index 000000000000..0fbf35551184
--- /dev/null
+++ b/games-fps/urbanterror-data/urbanterror-data-4.3.3.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+inherit check-reqs eutils
+
+ENGINE_PV=${PV}
+
+MY_PN=UrbanTerror
+MY_PV=43_full
+
+DESCRIPTION="Data files for UrbanTerror"
+HOMEPAGE="http://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"
+
+# fetch updates recursively for |4.3.x-4.3.0|
+if [[ "${PV}" != "4.3.0" ]]; then
+ MY_CTR=0
+ while [[ "${MY_CTR}" -lt "${PV/4.3./}" ]]; do
+ SRC_URI="${SRC_URI} https://up.barbatos.fr/urt/${MY_PN}-4.3.${MY_CTR}-to-4.3.$(( ${MY_CTR} + 1 )).zip -> ${PN}-4.3.${MY_CTR}-to-4.3.$(( ${MY_CTR} + 1 )).zip"
+ MY_CTR=$(( ${MY_CTR} + 1 ))
+ done
+fi
+unset MY_CTR
+
+LICENSE="Q3AEULA-20000111 urbanterror-4.2-maps"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+DEPEND="app-arch/unzip"
+
+S="${WORKDIR}/${MY_PN}43"
+
+CHECKREQS_DISK_BUILD="3300M"
+CHECKREQS_DISK_USR="1400M"
+
+src_prepare() {
+ default
+
+ # apply updates we fetched before
+ # again recursively for |4.3.x - 4.3.0|
+ local MY_CTR
+ if [[ "${PV}" != "4.3.0" ]]; then
+ MY_CTR=0
+ while [[ "${MY_CTR}" -lt "${PV/4.3./}" ]]; do
+ cp -dfpr \
+ "${WORKDIR}"/${MY_PN}-4.3.${MY_CTR}-to-4.3.$(( ${MY_CTR} + 1 ))/* "${S}"
+ MY_CTR=$(( ${MY_CTR} + 1 ))
+ done
+ fi
+}
+
+src_install() {
+ insinto /usr/share/urbanterror/q3ut4
+ doins q3ut4/*.pk3
+ # These files are *essential* for startup
+ newins q3ut4/server_example.cfg server.cfg
+ newins q3ut4/autoexec_example.cfg autoexec.cfg
+
+ dodoc q3ut4/readme43.txt
+ docinto examples
+ dodoc q3ut4/{server_example.cfg,mapcycle_example.txt}
+}