35 lines
1003 B
Bash
35 lines
1003 B
Bash
# Maintainer : Johnathan Jenkins <twodopeshaggy@gmail.com>
|
|
# Contributor: prettyvanilla <prettyvanilla@posteo.at>
|
|
# Contributor: almostalive <almostalive2003 at gmail dot com>
|
|
|
|
pkgname=libretro-vba-next-git
|
|
pkgver=681.e773475
|
|
pkgrel=1
|
|
pkgdesc="libretro implementation of VBA Next. (Game Boy Advance)"
|
|
arch=('i686' 'x86_64' 'arm' 'armv6h')
|
|
url="https://github.com/libretro/vba-next"
|
|
license=('GPL')
|
|
makedepends=('git')
|
|
|
|
_libname=vba_next_libretro
|
|
_gitname=vba-next
|
|
source=("git+https://github.com/libretro/${_gitname}.git"
|
|
"https://raw.github.com/libretro/libretro-super/master/dist/info/${_libname}.info")
|
|
md5sums=('SKIP'
|
|
'SKIP')
|
|
|
|
pkgver() {
|
|
cd "${_gitname}"
|
|
echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
|
|
}
|
|
|
|
build() {
|
|
cd "${_gitname}"
|
|
make -f Makefile.libretro
|
|
}
|
|
|
|
package() {
|
|
install -Dm644 "${_gitname}/${_libname}.so" "${pkgdir}/usr/lib/libretro/${_libname}.so"
|
|
install -Dm644 "${_libname}.info" "${pkgdir}/usr/share/libretro/info/${_libname}.info"
|
|
}
|