# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=libretro-beetle-vb
pkgver=0_git20221214
pkgrel=0
_commit="3e845666d7ce235a071eb306e94074f1a72633bf"
pkgdesc="standalone port of Mednafen VB to libretro"
url="https://github.com/libretro/beetle-vb-libretro"
arch="all"
license="GPL-2.0-only"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/beetle-vb-libretro/archive/$_commit.tar.gz"
builddir="$srcdir/beetle-vb-libretro-$_commit"
options="!check" # No tests

build() {
	make
}

package() {
	install -Dm644 mednafen_vb_libretro.so "$pkgdir"/usr/lib/libretro/mednafen_vb_libretro.so
}

sha512sums="
1b2ecbdba9a2ff0f10447cb56026804e266f9d63b9b0f675b217597e44c80390b33acc1cad871b1aaf36c73576fed391c26921219eab2206484975083a2e0e07  libretro-beetle-vb-3e845666d7ce235a071eb306e94074f1a72633bf.tar.gz
"
