summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 527814b208f866455bdbe53f4cb999e9ae9607ae (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="an easy way to launch and install ut2004 (GOG edition)"
arch=('x86_64')
url="https://github.com/tim241/ut2004-gog"

depends=('bash' 'awk' 'sed' 'curl' 'wine' 'winetricks')

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.bz2 "$pkgdir"/opt/ut2004-gog/ut2004-linux.tar.bz2
}