summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: acec00654ae750ba2a1a6acc92d67e017ab4374c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
pkgname=ut2004-gog
pkgver=1
pkgrel=1
pkgdesc="Popular first person shooter, native Linux version. (GOG version)"
arch=('x86_64')
url="https://github.com/tim241/ut2004-gog"

depends=('bash' 'awk' 'sed' 'curl' 'wine' 'winetricks' 'libstdc++5' 'coreutils')

source=("git+https://github.com/tim241/${pkgname}.git")

sha256sums=('SKIP')

pkgver() {
    git describe --always
}

package() {
    cd "$pkgname"
    install -D ut2004-gog "$pkgdir"/usr/bin/ut2004-gog
    install -D ut2004-linux.tar.gz "$pkgdir"/opt/ut2004-gog/ut2004-linux.tar.gz
}