aboutsummaryrefslogtreecommitdiffstats
path: root/community/libretro-melonds/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/libretro-melonds/APKBUILD')
-rw-r--r--community/libretro-melonds/APKBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/community/libretro-melonds/APKBUILD b/community/libretro-melonds/APKBUILD
new file mode 100644
index 0000000000..f43a3b0dfd
--- /dev/null
+++ b/community/libretro-melonds/APKBUILD
@@ -0,0 +1,24 @@
+# Contributor: David Demelier <markand@malikania.fr>
+# Maintainer: David Demelier <markand@malikania.fr>
+pkgname=libretro-melonds
+pkgver=0_git20210411
+pkgrel=0
+_commit="657c729e7473e9b2c09ddf2eef9dcf4ba5b247ec"
+pkgdesc="Nintendo DS emulator for libretro"
+url="https://github.com/libretro/melonDS"
+arch="all !mips !mips64"
+license="GPL-3.0-only"
+makedepends="mesa-dev"
+source="$pkgname-$_commit.tar.gz::https://github.com/libretro/melonDS/archive/$_commit.tar.gz"
+builddir="$srcdir/melonDS-$_commit"
+options="!check" # No tests
+
+build() {
+ make
+}
+
+package() {
+ install -Dm644 melonds_libretro.so "$pkgdir"/usr/lib/libretro/melonds_libretro.so
+}
+
+sha512sums="be16e6bb3b6e3f9c2646949715182defe045338c7a888bdaf26cbf2fbfa54dde3d5c046f86b26aa036f4ee549c2e9a9aafe7d475ea95b3f0589aff01b7b18211 libretro-melonds-657c729e7473e9b2c09ddf2eef9dcf4ba5b247ec.tar.gz"