summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8f71d29ba9a40d268764feab9d6bf430ca0656a7 (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
# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
# Contributor: Oliver Jaksch <arch-aur@com-in.de>

pkgname=libretro-beetle-wswan-git
pkgver=r712.b4dc85b
pkgrel=1
pkgdesc='WonderSwan core'
arch=('x86_64')
url='https://github.com/libretro/beetle-wswan-libretro'
license=('GPL2')
groups=('libretro-unstable')
depends=('libretro-core-info')
makedepends=('git')
provides=('libretro-beetle-wswan' 'libretro-mednafen-wswan-git')
conflicts=('libretro-beetle-wswan' 'libretro-mednafen-wswan-git')
source=("libretro-beetle-wswan::git+https://github.com/libretro/beetle-wswan-libretro.git")
sha256sums=('SKIP')

pkgver() {
  cd libretro-beetle-wswan

  echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}

build() {
  make -C libretro-beetle-wswan
}

package() {
  install -Dm 644 libretro-beetle-wswan/mednafen_wswan_libretro.so -t "${pkgdir}"/usr/lib/libretro/
}

# vim: ts=2 sw=2 et: