aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/libretro-pcem/APKBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/testing/libretro-pcem/APKBUILD b/testing/libretro-pcem/APKBUILD
new file mode 100644
index 0000000000..7a1e0059dc
--- /dev/null
+++ b/testing/libretro-pcem/APKBUILD
@@ -0,0 +1,24 @@
+# Contributor: David Demelier <markand@malikania.fr>
+# Maintainer: David Demelier <markand@malikania.fr>
+pkgname=libretro-pcem
+pkgver=0_git20180812
+pkgrel=0
+_commit="1955c2127990cfdf4c594b35b466e8503d626fa7"
+pkgdesc="libretro port of PCem"
+url="https://github.com/libretro/libretro-pcem"
+arch="all !aarch64 !armv7 !ppc64le !s390x !x8 !x86"
+license="GPL-2.0-only"
+makedepends="linux-headers"
+source="$pkgname-$_commit.tar.gz::https://github.com/libretro/libretro-pcem/archive/$_commit.tar.gz"
+builddir="$srcdir/libretro-pcem-$_commit"
+options="!check" # No tests
+
+build() {
+ make -C src -f Makefile.libretro
+}
+
+package() {
+ install -Dm644 src/pcem_libretro.so "$pkgdir"/usr/lib/libretro/pcem_libretro.so
+}
+
+sha512sums="fb71876db6b8bebe0a1f1cd673bcda2c3cb537a4dc4bcdbe802f2b0424bb7ed9a2bac7df107cc751af2dbc0f31f01bcafe91633c1560d358763e45a30ea5fd07 libretro-pcem-1955c2127990cfdf4c594b35b466e8503d626fa7.tar.gz"