From f0c87facc9c4665e63fae5ff755eda3baf88a9f7 Mon Sep 17 00:00:00 2001 From: Thomas Kienlen Date: Thu, 8 Apr 2021 22:27:12 +0200 Subject: testing/dustracing2d: new aport --- testing/dustracing2d/APKBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 testing/dustracing2d/APKBUILD diff --git a/testing/dustracing2d/APKBUILD b/testing/dustracing2d/APKBUILD new file mode 100644 index 00000000000..a6c6207dc4b --- /dev/null +++ b/testing/dustracing2d/APKBUILD @@ -0,0 +1,28 @@ +# Contributor: Thomas Kienlen +# Maintainer: Thomas Kienlen +pkgname=dustracing2d +_pkgname=DustRacing2D +pkgver=2.1.1 +pkgrel=0 +pkgdesc="Traditional top-down car racing game including a level editor" +url="http://juzzlin.github.io/DustRacing2D/" +arch="all" +license="GPL-3.0-or-later" +makedepends="cmake qt5-qttools-dev openal-soft-dev libvorbis-dev glu-dev" +source="$pkgname-$pkgver.tar.gz::https://github.com/juzzlin/DustRacing2D/archive/refs/tags/$pkgver.tar.gz" +options="!check" # No test suite +builddir="$srcdir/$_pkgname-$pkgver" + +build() { + cmake -B build \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=None \ + -DReleaseBuild=ON + cmake --build build +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} + +sha512sums="9a49cd0302ab47b12ee587a33cc74c1df2bf6cf7925141cbf957fc90a5c1a34423d4420be28bcb6909a862daa12d6214b397fd0fc77e9e18fa649f3ca5c2e1ab dustracing2d-2.1.1.tar.gz" -- cgit v1.2.3