blob: d568c6a33fe031bf5548a28f8b5f4b87777e6fbc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Maintainer: Mike Polvere <mic.tjs@gmail.com>
pkgname=libretro-beetle-vb-git
pkgver=688.cc11960
pkgrel=1
pkgdesc="Virtual Boy emu - Standalone port of Beetle / Mednafen VB to libretro."
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h')
url="https://github.com/libretro/beetle-vb-libretro"
license=('GPL2')
groups=('libretro')
depends=('gcc-libs')
makedepends=('git')
_libname=mednafen_vb_libretro
_gitname=beetle-vb-libretro
source=("git+https://github.com/libretro/${_gitname}.git")
replaces=('libretro-mednafen-vb-git')
conflicts=('libretro-mednafen-vb-git')
md5sums=('SKIP')
pkgver() {
cd "${_gitname}"
echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}
build() {
cd "${_gitname}"
make
}
package() {
conflicts=('libretro-beetle-vb')
provides=('libretro-beetle-vb')
install -Dm644 "${_gitname}/${_libname}.so" "${pkgdir}/usr/lib/libretro/${_libname}.so"
}
|