Patches for aports can be sent to this list

[alpine-aports] [PATCH] testing/quakespasm: new aport

Paul Bredbury
Details
Message ID
<20190224154909.19499-1-brebs@sent.com>
Sender timestamp
1551023349
DKIM signature
missing
Download raw message
Patch: +27 -0
http://quakespasm.sourceforge.net/
Quake 1 engine.
---
 testing/quakespasm/APKBUILD | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 testing/quakespasm/APKBUILD

diff --git a/testing/quakespasm/APKBUILD b/testing/quakespasm/APKBUILD
new file mode 100644
index 0000000000..e2e57b752a
--- /dev/null
+++ b/testing/quakespasm/APKBUILD
@@ -0,0 +1,27 @@
+# Contributor: Paul Bredbury <brebs@sent.com>
+pkgname=quakespasm
+pkgver=0.93.1
+pkgrel=0
+pkgdesc="Quake 1 engine"
+url="http://quakespasm.sourceforge.net/"
+arch="all"
+license="GPL-2.0-or-later"
+depends=""
+makedepends="mesa-dev sdl2-dev libmad-dev libvorbis-dev"
+source="https://sourceforge.net/projects/$pkgname/files/Source/$pkgname-$pkgver.tgz"
+builddir="$srcdir/$pkgname-$pkgver/Quake"
+options="!check" # No test suite
+
+build() {
+	cd "$builddir"
+	make DO_USERDIRS=1 USE_SDL2=1
+}
+
+package() {
+	cd "$builddir"
+
+	install -Dm 755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
+	install -Dm 644 "$pkgname.pak" "$pkgdir/usr/share/games/quake/$pkgname.pak"
+}
+
+sha512sums="3443d1b6ea75d7b6762a3b26d58d871fcdd4a79f776c0e881b8e0ebca822a3c2b500081cfde26d56f1db019df99439c4a93140139d2b627857fd09381d564751  quakespasm-0.93.1.tgz"
-- 
2.20.1



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---