aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libretro-gambatte/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/libretro-gambatte/APKBUILD')
-rw-r--r--testing/libretro-gambatte/APKBUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/testing/libretro-gambatte/APKBUILD b/testing/libretro-gambatte/APKBUILD
new file mode 100644
index 0000000000..469124a057
--- /dev/null
+++ b/testing/libretro-gambatte/APKBUILD
@@ -0,0 +1,23 @@
+# Contributor: David Demelier <markand@malikania.fr>
+# Maintainer: David Demelier <markand@malikania.fr>
+pkgname=libretro-gambatte
+pkgver=0_git20200207
+pkgrel=0
+_commit="132f36e990dfc6effdafa6cf261373432464f9bf"
+pkgdesc="libretro implementation of libgambatte"
+url="https://github.com/libretro/gambatte-libretro"
+arch="all"
+license="GPL-2.0-only"
+source="$pkgname-$_commit.tar.gz::https://github.com/libretro/gambatte-libretro/archive/$_commit.tar.gz"
+builddir="$srcdir/gambatte-libretro-$_commit"
+options="!check" # No tests
+
+build() {
+ make -f Makefile.libretro
+}
+
+package() {
+ install -Dm644 gambatte_libretro.so "$pkgdir"/usr/lib/libretro/gambatte_libretro.so
+}
+
+sha512sums="90305ffe50a3ac3dd50eab540b76d80bbc73f9fccc5d48d11cc48aadf5d99c4a5c11302a093ee83441311bd0183e024852659b91412e103be27ee82851a11bae libretro-gambatte-132f36e990dfc6effdafa6cf261373432464f9bf.tar.gz"