# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=libretro-virtualjaguar
pkgver=0_git20221119
pkgrel=0
_commit="2cc06899b839639397b8b30384a191424b6f529d"
pkgdesc="port of Virtual Jaguar to Libretro"
url="https://github.com/libretro/virtualjaguar-libretro"
arch="all"
license="GPL-3.0-only"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/virtualjaguar-libretro/archive/$_commit.tar.gz"
builddir="$srcdir/virtualjaguar-libretro-$_commit"
options="!check" # No tests

build() {
	make
}

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

sha512sums="
e4d9a5168b5f305bbdcf345c587231933b1abe2583e873d3b4020ace86d396716c8350ab26721869d69cc797b44394115421b65691c67378975e686278d077d3  libretro-virtualjaguar-2cc06899b839639397b8b30384a191424b6f529d.tar.gz
"
