Add retroarch db package
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user