aboutsummaryrefslogtreecommitdiffstats
path: root/community/libretro-bk/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/libretro-bk/APKBUILD')
-rw-r--r--community/libretro-bk/APKBUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/community/libretro-bk/APKBUILD b/community/libretro-bk/APKBUILD
new file mode 100644
index 0000000000..31f1420bdb
--- /dev/null
+++ b/community/libretro-bk/APKBUILD
@@ -0,0 +1,23 @@
+# Contributor: David Demelier <markand@malikania.fr>
+# Maintainer: David Demelier <markand@malikania.fr>
+pkgname=libretro-bk
+pkgver=0_git20210315
+pkgrel=0
+_commit="70f4a2d812379b8e3e3c7ed3025d08583dee98b1"
+pkgdesc="BK-0010/0011/Terak 8510a emulator"
+url="https://github.com/libretro/bk-emulator"
+arch="all"
+license="custom"
+source="$pkgname-$_commit.tar.gz::https://github.com/libretro/bk-emulator/archive/$_commit.tar.gz"
+builddir="$srcdir/bk-emulator-$_commit"
+options="!check" # No tests
+
+build() {
+ make -f Makefile.libretro
+}
+
+package() {
+ install -Dm644 bk_libretro.so "$pkgdir"/usr/lib/libretro/bk_libretro.so
+}
+
+sha512sums="48734a57b09d8564ca04acc3fb7094584417ca29bff5f8689afbeb8226615a058fd35bfd920410b4c707fc7867373c5a074b06f9e5050bbfe68d7ad5e27bb2ba libretro-bk-70f4a2d812379b8e3e3c7ed3025d08583dee98b1.tar.gz"