aboutsummaryrefslogtreecommitdiffstats
path: root/testing/quakespasm/APKBUILD
blob: 27a44a4ff2d0f25cb634f40e6bac54d4da692e53 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Contributor: Paul Bredbury <brebs@sent.com>
pkgname=quakespasm
pkgver=0.93.2
pkgrel=0
pkgdesc="Quake 1 engine"
url="http://quakespasm.sourceforge.net/"
arch="all"
license="GPL-2.0-or-later"
makedepends="mesa-dev sdl2-dev libmad-dev libvorbis-dev"
source="https://sourceforge.net/projects/quakespasm/files/Source/quakespasm-$pkgver.tgz"
builddir="$srcdir/$pkgname-$pkgver/Quake"
options="!check" # No test suite

build() {
	make DO_USERDIRS=1 USE_SDL2=1
}

package() {
	install -Dm 755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
	install -Dm 644 "$pkgname.pak" "$pkgdir/usr/share/games/quake/$pkgname.pak"
}

sha512sums="30e8515aa9c6a64ef76f2440e878493e98e85e8c19356738e35b5bbd6e5f49ed42b4d73dc716cce0e687b4e7e27a65fa97541e89ae7857fb165a63e09385743f  quakespasm-0.93.2.tgz"