archrelease: copy trunk to community-any
[ArchLinux/community.git] / libretro-yabause / repos / community-x86_64 / PKGBUILD
blobef4c2345e2193f3ee8bdb7f713956a6a4afa362c
1 # Maintainer: Maxime Gauduin <alucryd@archlinux.org>
3 pkgname=libretro-yabause
4 pkgver=3342
5 pkgrel=1
6 pkgdesc='Sega Saturn core'
7 arch=(x86_64)
8 url=https://github.com/libretro/yabause
9 license=(GPL2)
10 groups=(libretro)
11 depends=(
12   glew
13   glibc
14   libretro-core-info
16 makedepends=(git)
17 _commit=4c96b96f7fbe07223627c469ff33376b2a634748
18 source=(libretro-yabause::git+https://github.com/libretro/yabause.git#commit=${_commit})
19 sha256sums=(SKIP)
21 pkgver() {
22   cd libretro-yabause
24   git rev-list --count HEAD
27 build() {
28   make -C libretro-yabause/yabause/src/libretro
31 package() {
32   install -Dm 644 libretro-yabause/yabause/src/libretro/yabause_libretro.so -t "${pkgdir}"/usr/lib/libretro/
35 # vim: ts=2 sw=2 et: