From b495eb4620cafb97e92375cfcbfaf19b292c05d2 Mon Sep 17 00:00:00 2001 From: Helmut Pozimski Date: Sun, 4 Mar 2018 22:22:36 +0100 Subject: [PATCH] urbanterror-data: determine download link based on version number --- srcpkgs/urbanterror-data/template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/urbanterror-data/template b/srcpkgs/urbanterror-data/template index 7a23ee8063a..af04e1c04af 100644 --- a/srcpkgs/urbanterror-data/template +++ b/srcpkgs/urbanterror-data/template @@ -1,7 +1,7 @@ # Template file for 'urbanterror-data' pkgname=urbanterror-data version=4.3.3 -revision=1 +revision=2 noarch=yes wrksrc="UrbanTerror43" hostmakedepends="unzip" @@ -9,8 +9,8 @@ short_desc="Urbanterror data files" maintainer="Andrea Brancaleoni " license="Freeware" homepage="http://www.urbanterror.info" -distfiles="http://cdn.urbanterror.info/urt/43/releases/zips/UrbanTerror432_full.zip" -checksum=74dee1566fa6cd0eb26d866149a1b6ad7e8f18a653693f02790c05ef7ce352a4 +distfiles="http://cdn.urbanterror.info/urt/43/releases/zips/UrbanTerror${version//./}_full.zip" +checksum=c35827192724afcaaa07d7bdb74f17e06e4b865346672eda2b00717b3d023067 do_install() { vmkdir usr/share/urbanterror