Add retroarch db package

This commit is contained in:
David Heinemeier Hansson
2026-05-04 10:50:44 +02:00
parent d2361d8f71
commit f8f718b70d
2 changed files with 31 additions and 0 deletions
+1
View File
@@ -20,6 +20,7 @@ elephant-todo
elephant-unicode
elephant-websearch
heroic-games-launcher-bin
libretro-database-git
libretro-fbneo-git
limine-mkinitcpio-hook
limine-snapper-sync
@@ -0,0 +1,30 @@
# Maintainer: Alexandre Bouvier <contact@amb.tf>
# Contributor: Oliver Jaksch <arch-aur@com-in.de>
_pkgname=libretro-database
pkgname=$_pkgname-git
pkgver=1.22.1.r61.g1b0697f
pkgrel=1
epoch=1
pkgdesc="RetroArch's cheatcode files, content data files, etc."
arch=('any')
url="https://github.com/libretro/libretro-database"
license=('CC-BY-SA-4.0')
groups=('libretro')
makedepends=('git')
optdepends=('retroarch')
provides=("$_pkgname=$pkgver")
conflicts=("$_pkgname")
options=('!strip')
source=("$_pkgname::git+$url.git")
b2sums=('SKIP')
pkgver() {
cd $_pkgname
git describe --long --tags --abbrev=7 | sed 's/^v//;s/[^-]*-g/r&/;s/-/./g'
}
package() {
cd $_pkgname
# shellcheck disable=SC2154
make DESTDIR="$pkgdir" install
}