summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8910b9997309eed7a33622b01326044e9d3ba4df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Maintainer: Slash <demodevil5[at]yahoo[dot]com>

pkgname=quake3-urbanterror
pkgver=4.3.4
pkgrel=1
pkgdesc="Urban Terror is a team-based tactical shooter based on the Quake 3 Engine (Quake3 Mod Version)"
url="http://www.urbanterror.info/"
license=('custom')
arch=('any')
depends=('quake3')
source=('http://cdn.urbanterror.info/urt/43/releases/zips/UrbanTerror434_full.zip')
sha256sums=('716669cc6c525663b791852e51ff9c94d96f382be39279dab6084dddacb5a4e7')
PKGEXT='.pkg.tar'

package() {
    # Create Destination Directory
    install -d "${pkgdir}/opt/quake3/"

    # Base UT Files
    mv "${srcdir}/UrbanTerror43/q3ut4" "${pkgdir}/opt/quake3/"

    # Install License/Readme File
    install -D -m644 "${pkgdir}/opt/quake3/q3ut4/readme43.txt" \
        "${pkgdir}/usr/share/licenses/${pkgname}/readme43.txt"
}