aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/libretro-database/APKBUILD19
-rw-r--r--testing/libretro-database/fix-busybox-incompability.patch13
2 files changed, 32 insertions, 0 deletions
diff --git a/testing/libretro-database/APKBUILD b/testing/libretro-database/APKBUILD
new file mode 100644
index 0000000000..513f0905ff
--- /dev/null
+++ b/testing/libretro-database/APKBUILD
@@ -0,0 +1,19 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=libretro-database
+pkgver=1.7.7
+pkgrel=0
+arch="noarch"
+url="https://www.libretro.com/"
+pkgdesc="Libretro core info files"
+license="none" # No code, just info files
+source="$pkgname-$pkgver.tar.gz::https://github.com/libretro/libretro-database/archive/v$pkgver.tar.gz
+ fix-busybox-incompability.patch"
+options="!check" # No code to test
+
+package() {
+ DESTDIR="$pkgdir" make install
+}
+
+sha512sums="9e0c590439e9de0e3d3ce3b0d43f777eb39e118753f4acd87d902329bbe6d2b6d18b7554bbaba2bc5b4e44c325490e5e543c5b07eae37be0cce41343d18b965b libretro-database-1.7.7.tar.gz
+41670da3518bf5aa80f0916e94f81c6aed4c8ca5c1cae941c521440d5c019b96c3594e2efc3849e397d71deda8b9db7bed6fabb0ecf305572688179bbffc1406 fix-busybox-incompability.patch"
diff --git a/testing/libretro-database/fix-busybox-incompability.patch b/testing/libretro-database/fix-busybox-incompability.patch
new file mode 100644
index 0000000000..24c4467dc8
--- /dev/null
+++ b/testing/libretro-database/fix-busybox-incompability.patch
@@ -0,0 +1,13 @@
+diff --git a/Makefile b/Makefile
+index 0c3a33fd..65436325 100644
+--- a/Makefile
++++ b/Makefile
+@@ -16,7 +16,7 @@ all:
+
+ install:
+ mkdir -p $(DESTDIR)$(INSTALLDIR)
+- cp -ar -t $(DESTDIR)$(INSTALLDIR) cht cursors rdb
++ cp -ar cht cursors rdb $(DESTDIR)$(INSTALLDIR)
+ find $(DESTDIR)$(INSTALLDIR) -type f -name "*.zip" -delete
+ find $(DESTDIR)$(INSTALLDIR) -type f -name "*.xml" -delete
+