summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 84511e9094539da3e4991142e08986e52edc371b (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
39
# Maintainer: Dario Pellegrini <pellegrinidario@gmail.com>

pkgname=libretro-bnes
pkgver=1
pkgrel=1
epoch=1
pkgdesc='Nintendo Entertainment System cores'
arch=(x86_64)
url=https://github.com/libretro/bnes-libretro
license=(GPL3)
groups=(libretro)
depends=(
  gcc-libs
  libretro-core-info
)
makedepends=(git)
source=(
  libretro-bnes::git+https://github.com/libretro/bnes-libretro.git#commit=8e26e89a93bef8eb8992d1921b539dce1792660a
)
sha256sums=(
  SKIP
)

pkgver() {
  cd "$pkgname"
  git rev-list --count HEAD
}

build() {
  cd "$pkgname"
  make
}

package() {
  cd "$pkgname"
  install -Dm 644 bnes_libretro.so -t "${pkgdir}"/usr/lib/libretro/
}

# vim: ts=2 sw=2 et: