summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 81bfd3ddafe4a7c9432c7b750a00dc09596f714c (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
# Maintainer: Franc[e]sco <lolisamurai@tfwno.gf>

pkgname=shmupmametgm
pkgver=r79.5ac496e
pkgrel=1
pkgdesc="Customized MAME for the TGM series. Forked for extra output options and tooling."
arch=('x86_64')
url="https://github.com/MaryHal/shmupmametgm"
depends=('sdl' 'gconf')
makedepends=('git')
license=('GPL')
source=("git+https://github.com/MaryHal/shmupmametgm.git")
sha256sums=('SKIP')

pkgver() {
  cd "$srcdir/shmupmametgm"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
  cd "$srcdir/$pkgname"
  make SUBTARGET=tgm NOWERROR=1 || return 1
}

package() {
  install -Dm755 "$srcdir/$pkgname/mametgm64" -t "$pkgdir/usr/bin/"
}