aboutsummaryrefslogtreecommitdiffstats
path: root/community/libretro-hatari
diff options
context:
space:
mode:
Diffstat (limited to 'community/libretro-hatari')
-rw-r--r--community/libretro-hatari/APKBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/community/libretro-hatari/APKBUILD b/community/libretro-hatari/APKBUILD
new file mode 100644
index 0000000000..2d3e208a95
--- /dev/null
+++ b/community/libretro-hatari/APKBUILD
@@ -0,0 +1,24 @@
+# Contributor: David Demelier <markand@malikania.fr>
+# Maintainer: David Demelier <markand@malikania.fr>
+pkgname=libretro-hatari
+pkgver=0_git20210317
+pkgrel=0
+_commit="cea06eebf695b078fadc0e78bb0f2b2baaca799f"
+pkgdesc="Atari ST/STE/TT/Falcon emulator for libretro"
+url="https://github.com/libretro/hatari"
+arch="all"
+license="GPL-2.0-only"
+makedepends="zlib-dev"
+source="$pkgname-$_commit.tar.gz::https://github.com/libretro/hatari/archive/$_commit.tar.gz"
+builddir="$srcdir/hatari-$_commit"
+options="!check" # No tests
+
+build() {
+ make -f Makefile.libretro
+}
+
+package() {
+ install -Dm644 hatari_libretro.so "$pkgdir"/usr/lib/libretro/hatari_libretro.so
+}
+
+sha512sums="af0ea92dd73b81abf5313ba225a443f5f7e4e8e4dba35d98ac56dd03d7523c429b92c2f958106642f75afea9bfa36929fa72c95356af840c38f44fc350864428 libretro-hatari-cea06eebf695b078fadc0e78bb0f2b2baaca799f.tar.gz"