aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/libretro-snes9x/APKBUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/testing/libretro-snes9x/APKBUILD b/testing/libretro-snes9x/APKBUILD
new file mode 100644
index 0000000000..ee5476b544
--- /dev/null
+++ b/testing/libretro-snes9x/APKBUILD
@@ -0,0 +1,23 @@
+# Contributor: David Demelier <markand@malikania.fr>
+# Maintainer: David Demelier <markand@malikania.fr>
+pkgname=libretro-snes9x
+pkgver=0_git20200106
+pkgrel=0
+_commit="6db918cfe32b157239da44096091c212fdfb3b60"
+pkgdesc="Super Nintendo Entertainment System core for libretro"
+url="https://github.com/libretro/snes9x"
+arch="all"
+license="custom"
+source="$pkgname-$_commit.tar.gz::https://github.com/libretro/snes9x/archive/$_commit.tar.gz"
+builddir="$srcdir/snes9x-$_commit"
+options="!check" # No tests
+
+build() {
+ make -C libretro
+}
+
+package() {
+ install -Dm644 libretro/snes9x_libretro.so "$pkgdir"/usr/lib/libretro/snes9x_libretro.so
+}
+
+sha512sums="2a33e89ee2cb86113138833f5aaaf880d4a6bb325764f3bd4bf999e78bf0bd7a8633c2d521fdf7920b4c60c3e4eb397a354b72666675669bc3a4338d6bd5a431 libretro-snes9x-6db918cfe32b157239da44096091c212fdfb3b60.tar.gz"