urbanterror-data: determine download link based on version number

This commit is contained in:
Helmut Pozimski 2018-03-04 22:22:36 +01:00 committed by Andrea Brancaleoni
parent 1fdbb68d06
commit b495eb4620
1 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'urbanterror-data' # Template file for 'urbanterror-data'
pkgname=urbanterror-data pkgname=urbanterror-data
version=4.3.3 version=4.3.3
revision=1 revision=2
noarch=yes noarch=yes
wrksrc="UrbanTerror43" wrksrc="UrbanTerror43"
hostmakedepends="unzip" hostmakedepends="unzip"
@ -9,8 +9,8 @@ short_desc="Urbanterror data files"
maintainer="Andrea Brancaleoni <abc@pompel.me>" maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="Freeware" license="Freeware"
homepage="http://www.urbanterror.info" homepage="http://www.urbanterror.info"
distfiles="http://cdn.urbanterror.info/urt/43/releases/zips/UrbanTerror432_full.zip" distfiles="http://cdn.urbanterror.info/urt/43/releases/zips/UrbanTerror${version//./}_full.zip"
checksum=74dee1566fa6cd0eb26d866149a1b6ad7e8f18a653693f02790c05ef7ce352a4 checksum=c35827192724afcaaa07d7bdb74f17e06e4b865346672eda2b00717b3d023067
do_install() { do_install() {
vmkdir usr/share/urbanterror vmkdir usr/share/urbanterror