Subject: [PATCH] testing/libretro-nestopia: new aport

From: Bart Ribbers <[email-masked]>
Date: Fri, 23 Aug 2019 13:21:31 +0200

---
 testing/libretro-nestopia/APKBUILD | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 testing/libretro-nestopia/APKBUILD

diff --git a/testing/libretro-nestopia/APKBUILD b/testing/libretro-nestopia/APKBUILD
new file mode 100644
index 0000000000..5079282fc5
--- /dev/null
+++ b/testing/libretro-nestopia/APKBUILD
@@ -0,0 +1,27 @@
+# Contributor: Bart Ribbers <[email-masked]>
+# Maintainer: Bart Ribbers <[email-masked]>
+pkgname=libretro-nestopia
+_pkgname=nestopia
+pkgver=1.49_git20190819
+pkgrel=0
+_commit="0806f9194735f4af28d3f4fe6165212f5e142a58"
+arch="all"
+url="https://github.com/libretro/nestopia"
+pkgdesc="Nintendo Entertainment System core for libretro"
+license="GPL-2.0-or-later"
+makedepends=""
+source="$pkgname-$_commit.tar.gz::https://github.com/libretro/nestopia/archive/$_commit.tar.gz"
+builddir="$srcdir/$_pkgname-$_commit"
+options="!check" # No tests
+
+build() {
+	cd libretro
+	make
+}
+
+package() {
+	cd libretro
+	install -Dm644 nestopia_libretro.so "$pkgdir"/usr/lib/libretro/nestopia_libretro.so
+}
+
+sha512sums="d95ede611f83b8dce61b07a37730ab82e6c608b691fed3ad319415134b9d7871ca1ce22d28ce00c8a7e64a41982b719d85252a9aecb113e3927778403eaaa35f  libretro-nestopia-0806f9194735f4af28d3f4fe6165212f5e142a58.tar.gz"
-- 
2.21.0