aboutsummaryrefslogtreecommitdiffstats
path: root/community/libretro-bsnes/APKBUILD
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2020-01-03 12:08:02 +0100
committerLeo <thinkabit.ukim@gmail.com>2020-01-03 19:13:49 +0100
commit3a58a8d1301726b7ca7181348292908b28a1f704 (patch)
treed43ef4addce7181ea4eedcef8533e32b0d6efa40 /community/libretro-bsnes/APKBUILD
parent6b7b1935639c99ada3b2455029f693ca77015b7b (diff)
downloadaports-3a58a8d1301726b7ca7181348292908b28a1f704.tar.bz2
aports-3a58a8d1301726b7ca7181348292908b28a1f704.tar.xz
community/libretro-bsnes: move from testing
Diffstat (limited to 'community/libretro-bsnes/APKBUILD')
-rw-r--r--community/libretro-bsnes/APKBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/community/libretro-bsnes/APKBUILD b/community/libretro-bsnes/APKBUILD
new file mode 100644
index 0000000000..c437d9e655
--- /dev/null
+++ b/community/libretro-bsnes/APKBUILD
@@ -0,0 +1,27 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=libretro-bsnes
+pkgver=0_git20191009
+pkgrel=0
+_commit="feb8c10c672094e689ed057a278c2b354e113f32"
+arch="all"
+url="https://github.com/libretro/bsnes-libretro"
+pkgdesc="Super Nintendo Entertainment System (Famicon) core"
+license="GPL-3.0-only"
+source="$pkgname-$_commit.tar.gz::https://github.com/libretro/bsnes-libretro/archive/$_commit.tar.gz"
+builddir="$srcdir/bsnes-libretro-$_commit"
+options="!check" # No tests
+
+build() {
+ for p in accuracy balanced performance; do
+ make profile=$p
+ done
+}
+
+package() {
+ for p in accuracy balanced performance; do
+ install -Dm644 out/bsnes2014_${p}_libretro.so "$pkgdir"/usr/lib/libretro/bsnes2014_${p}_libretro.so
+ done
+}
+
+sha512sums="fe318ea28cf37385dd30806cce79aef318fe9a2f6169da1e8051ccb898cfa0b0ef4d8e19e2098713b85de6277cab02f5bd515222257dddb76e0eb9da39a239d4 libretro-bsnes-feb8c10c672094e689ed057a278c2b354e113f32.tar.gz"