aports/testing/quakespasm/APKBUILD
2024-08-03 04:06:27 +00:00

26 lines
835 B
Text

# Maintainer: Jordan Christiansen <xordspar0@gmail.com>
# Contributor: Paul Bredbury <brebs@sent.com>
pkgname=quakespasm
pkgver=0.96.3
pkgrel=0
pkgdesc="Quake 1 engine"
url="https://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.tar.gz"
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="
e8500d566a6cc6532c81823aa7775a48d9edcecc053528477d3c360ba17b8895b5fbda20b2679f571c9996da58d411eed1f975ef9435beb63a3261c14082f18e quakespasm-0.96.3.tar.gz
"