aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorDavid Demelier <markand@malikania.fr>2020-04-05 20:13:01 +0200
committerLeo <thinkabit.ukim@gmail.com>2020-04-07 00:45:14 +0000
commit76dfb66de73f748e298ca450abd14fb770b6bd80 (patch)
tree960b97bdc87276c87fbccbee5ee00234c77448cd /testing
parentb6b7d55e0a8dafb2e3a518db21a1bed961ecfb48 (diff)
downloadaports-76dfb66de73f748e298ca450abd14fb770b6bd80.tar.bz2
aports-76dfb66de73f748e298ca450abd14fb770b6bd80.tar.xz
testing/libretro-craft: new aport
https://github.com/libretro/Craft a simple Minecraft clone written in C using modern OpenGL
Diffstat (limited to 'testing')
-rw-r--r--testing/libretro-craft/APKBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/testing/libretro-craft/APKBUILD b/testing/libretro-craft/APKBUILD
new file mode 100644
index 0000000000..0f54a1feee
--- /dev/null
+++ b/testing/libretro-craft/APKBUILD
@@ -0,0 +1,24 @@
+# Contributor: David Demelier <markand@malikania.fr>
+# Maintainer: David Demelier <markand@malikania.fr>
+pkgname=libretro-craft
+pkgver=0_git20191221
+pkgrel=0
+_commit="d1b832825b9cc500328efdc0f0a78517f1c5b479"
+pkgdesc="a simple Minecraft clone written in C using modern OpenGL"
+url="https://github.com/libretro/Craft"
+arch="all"
+license="MIT"
+makedepends="mesa-dev"
+source="$pkgname-$_commit.tar.gz::https://github.com/libretro/Craft/archive/$_commit.tar.gz"
+builddir="$srcdir/Craft-$_commit"
+options="!check" # No tests
+
+build() {
+ make -f Makefile.libretro
+}
+
+package() {
+ install -Dm644 craft_libretro.so "$pkgdir"/usr/lib/libretro/craft_libretro.so
+}
+
+sha512sums="d0df03e8827c87877ca21e1b617f99e9158cd85b17e422b67ebad5a4dbb56a4bc8ac7fc3c4f8324dae1289a746955adfd3f8fdef3ccf1747e9db6acfcd441218 libretro-craft-d1b832825b9cc500328efdc0f0a78517f1c5b479.tar.gz"