summaryrefslogtreecommitdiff
path: root/user/trigger-rally/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-08-07 02:42:38 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-08-07 02:42:38 +0000
commit9647ec8115952f08c69df3fc1b513db7e0f37dda (patch)
tree7fa685e47d142662fc21aedc44c6a3d7fc9c8707 /user/trigger-rally/APKBUILD
parent36d33080c2eb27208e51748fbc58c3d9cf140955 (diff)
downloadpackages-9647ec8115952f08c69df3fc1b513db7e0f37dda.tar.gz
packages-9647ec8115952f08c69df3fc1b513db7e0f37dda.tar.bz2
packages-9647ec8115952f08c69df3fc1b513db7e0f37dda.tar.xz
packages-9647ec8115952f08c69df3fc1b513db7e0f37dda.zip
user/trigger-rally: new package
Diffstat (limited to 'user/trigger-rally/APKBUILD')
-rw-r--r--user/trigger-rally/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/user/trigger-rally/APKBUILD b/user/trigger-rally/APKBUILD
new file mode 100644
index 000000000..adf5c2b40
--- /dev/null
+++ b/user/trigger-rally/APKBUILD
@@ -0,0 +1,29 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=trigger-rally
+pkgver=0.6.5
+pkgrel=0
+pkgdesc="Fast-paced rally racing game"
+url="http://trigger-rally.sourceforge.net/"
+arch="all"
+options="!check" # No test suite.
+license="GPL-2.0-only"
+depends=""
+makedepends="freealut-dev glew-dev glu-dev openal-soft-dev physfs-dev sdl2-dev
+ sdl2_image-dev"
+source="https://downloads.sourceforge.net/trigger-rally/trigger-rally-$pkgver.tar.gz
+ dont-strip.patch
+ "
+
+build() {
+ cd "$builddir"/src
+ make OPTIMS="$CXXFLAGS -Wno-deprecated-declarations" DESTDIR="$pkgdir" prefix=/usr build
+}
+
+package() {
+ cd "$builddir"/src
+ make OPTIMS="$CXXFLAGS" DESTDIR="$pkgdir" prefix=/usr install
+}
+
+sha512sums="59f48c116b20e47559b4c07107fa4055a9ad516e9c147763e4ba5d2ead3a4a5101f7d690483a1ef0df847ca647c0f750937512ee579f4ae06908157d9eabf184 trigger-rally-0.6.5.tar.gz
+a81781058177e012daaad58d72e4bdbdbc2730b1df76941ba03f06367545b213ba82a33bab46deba31570973deb1802a3d459704c3a963c38eec69ef82f228d5 dont-strip.patch"