summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlashbunny2013-09-02 16:04:21 -0400
committerSlashbunny2013-09-02 16:04:21 -0400
commit0e57bd47d86ee21f37838be60e40f1c4f8283730 (patch)
treecce8c5445d36e8fe35c84b8414a1f2ae0f3b91c6
parent537a87ce7035bc7f4839876f8e8880cd7d871606 (diff)
downloadaur-0e57bd47d86ee21f37838be60e40f1c4f8283730.tar.gz
Modernized PKGBUILD, updated to latest upstream, working mirror, etc
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD32
2 files changed, 22 insertions, 25 deletions
diff --git a/.SRCINFO b/.SRCINFO
index db6e75e6187..7320832cce0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,13 @@
pkgbase = quake3-urbanterror
pkgdesc = Urban Terror is a team-based tactical shooter based on the Quake 3 Engine (Quake3 Mod Version)
- pkgver = 4.1.1
+ pkgver = 4.2.014
pkgrel = 1
- url = http://www.urbanterror.net/
- arch = i686
- arch = x86_64
- license = freeware
- makedepends = unzip
+ url = http://www.urbanterror.info/
+ arch = any
+ license = custom
depends = quake3
- depends = curl
- source = ftp://ftp.snt.utwente.nl/pub/games/urbanterror/full_install/linux_or_mac/UrbanTerror411.zip
- md5sums = 722c1fea9936593c9ef039bb068cc33b
+ source = http://cdn.urbanterror.info/urt/42/zips/UrbanTerror42_full014.zip
+ sha256sums = 52618f40223baedf37b0a97fc99fd05d3915d20eaff38c71e4eeb66835c7d169
pkgname = quake3-urbanterror
diff --git a/PKGBUILD b/PKGBUILD
index e04c09953f4..c2f9c7f8080 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,25 +1,25 @@
-# Contributor: Slash <demodevil5[at]yahoo[dot]com>
+# Maintainer: Slash <demodevil5[at]yahoo[dot]com>
pkgname=quake3-urbanterror
-pkgver=4.1.1
+pkgver=4.2.014
pkgrel=1
pkgdesc="Urban Terror is a team-based tactical shooter based on the Quake 3 Engine (Quake3 Mod Version)"
-url="http://www.urbanterror.net/"
-license=('freeware')
-arch=('i686' 'x86_64')
-depends=('quake3' 'curl')
-makedepends=('unzip')
-source=('ftp://ftp.snt.utwente.nl/pub/games/urbanterror/full_install/linux_or_mac/UrbanTerror411.zip')
-md5sums=('722c1fea9936593c9ef039bb068cc33b')
+url="http://www.urbanterror.info/"
+license=('custom')
+arch=('any')
+depends=('quake3')
+source=('http://cdn.urbanterror.info/urt/42/zips/UrbanTerror42_full014.zip')
+sha256sums=('52618f40223baedf37b0a97fc99fd05d3915d20eaff38c71e4eeb66835c7d169')
+PKGEXT='.pkg.tar'
-build() {
- cd $srcdir
+package() {
+ # Create Destination Directory
+ install -d ${pkgdir}/opt/quake3/
# Base UT Files
- install -d $pkgdir/opt/quake3/
- mv $srcdir/UrbanTerror/q3ut4 $pkgdir/opt/quake3/
+ mv ${srcdir}/UrbanTerror42/q3ut4 ${pkgdir}/opt/quake3/
- # Clean Up
- cd $pkgdir/opt/quake3/q3ut4/
- rm *.url
+ # Install License/Readme File
+ install -D -m644 ${pkgdir}/opt/quake3/q3ut4/readme42.txt \
+ ${pkgdir}/usr/share/licenses/${pkgname}/readme42.txt
}