diff options
-rw-r--r-- | games-fps/urbanterror-data/Manifest | 1 | ||||
-rw-r--r-- | games-fps/urbanterror-data/urbanterror-data-4.3.2-r1.ebuild | 4 | ||||
-rw-r--r-- | games-fps/urbanterror-data/urbanterror-data-4.3.2.ebuild | 64 |
3 files changed, 4 insertions, 65 deletions
diff --git a/games-fps/urbanterror-data/Manifest b/games-fps/urbanterror-data/Manifest index c5a1425fb952..75f0a116fba2 100644 --- a/games-fps/urbanterror-data/Manifest +++ b/games-fps/urbanterror-data/Manifest @@ -1,4 +1,3 @@ DIST urbanterror-data-4.3.0-to-4.3.1.zip 7495315 BLAKE2B a4562c81169274e6f7685c9ca771c0e004ec40aa123d0757794e89c019bbd6e280f22e0929dc6917b0a43d9fe6e6ea90a4f190ce01ff2e6be087299a9bb64cab SHA512 f05564babadff73793778926411bc7914bfef4a5f7dfc1003c36e8a549c568ab520adcff8a38e7dd905238738d242aa865e7c6d7db36ed6d592b144e497ed823 DIST urbanterror-data-4.3.1-to-4.3.2.zip 15305498 BLAKE2B d3b21c893dc6f5ce2323ca383ff52c1f6711ba57ab752c30d8fbb76b5d72125427a14fc30127589c5612df34cfda869a0727a838006fd6fc566005a54b7e741d SHA512 cb24939fffef9310c6ca8496d0d4f3be8656685e749ff1d6589fd193990be67ac70494b61ef6a12dd1f6995a78d451b9f09098e03970e82e1e3153ec3f89792c DIST urbanterror-data-4.3.2.zip 1491207564 BLAKE2B 3a292079d92895fa28567e8773d504a9f4b179de6d49607e9d589674374690a1fa673b0b8b08790b126140c8e8583ca3ee6f8439ea28e0f868fab6f4bc1a6268 SHA512 397aa5ba7f869049844d52a9dec234d020b856e16ba3ff295d97775e4e1d48730aecfba3992baf7d55c643c0073ceda32ada18d1473dadd55f561f27a8b9c4ed -DIST urbanterror-data.svg 1592 BLAKE2B 03b84da826882cb73e0cf589626b6e6959f08b6435c18481fce9fa2f1583b4fdb80032bb7638258558f5429ff5ae16f369aa53305260b4f370ed92860d86865c SHA512 ff789b35d9b1a2282485495b0d1918c7169906aeac094e7a33c7d77cd51d4787733400e1b9851ce19b38e886508d5fdd09f6cfc96b37a5b41bd0cf403e456b98 diff --git a/games-fps/urbanterror-data/urbanterror-data-4.3.2-r1.ebuild b/games-fps/urbanterror-data/urbanterror-data-4.3.2-r1.ebuild index 95dea99a4f67..7eebf9e788fb 100644 --- a/games-fps/urbanterror-data/urbanterror-data-4.3.2-r1.ebuild +++ b/games-fps/urbanterror-data/urbanterror-data-4.3.2-r1.ebuild @@ -11,6 +11,10 @@ MY_PV=43_full DESCRIPTION="Data files for UrbanTerror" HOMEPAGE="http://www.urbanterror.info" + +# Todo in the next release: save into ${PN}-4.3.0.zip +# I just made a mistake, but loading some GiB just for +# a mostly cosmetical fix isn’t worth the bandwith. SRC_URI="https://up.barbatos.fr/urt/${MY_PN}${MY_PV}.zip -> ${P}.zip" # fetch updates recursively for |4.3.x-4.3.0| diff --git a/games-fps/urbanterror-data/urbanterror-data-4.3.2.ebuild b/games-fps/urbanterror-data/urbanterror-data-4.3.2.ebuild deleted file mode 100644 index 5b0059e6f3ce..000000000000 --- a/games-fps/urbanterror-data/urbanterror-data-4.3.2.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2017 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" -SRC_URI="https://up.barbatos.fr/urt/${MY_PN}${MY_PV}.zip -> ${P}.zip - https://upload.wikimedia.org/wikipedia/commons/5/56/Urbanterror.svg -> ${PN}.svg" - -# 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() { - newicon -s scalable "${DISTDIR}"/${PN}.svg urbanterror.svg - 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} -} |