summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorFranc[e]sco2018-09-10 17:16:57 +0200
committerFranc[e]sco2018-09-10 17:16:57 +0200
commit0c09afedab438e4eddd6dba3979b6b286b53bb47 (patch)
treebcedb8bb3488f5af10a9264325a299f9f38b59d7 /PKGBUILD
parentf6e79fb8625fdb00e71e6921137eb395c30af62e (diff)
downloadaur-0c09afedab438e4eddd6dba3979b6b286b53bb47.tar.gz
pin against v2.1, for the git version install shmupmametgm-git
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD19
1 files changed, 7 insertions, 12 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 81bfd3ddafe..7ae18e78861 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,28 +1,23 @@
# Maintainer: Franc[e]sco <lolisamurai@tfwno.gf>
pkgname=shmupmametgm
-pkgver=r79.5ac496e
-pkgrel=1
+pkgver=2.1
+pkgrel=2
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)"
-}
+source=("https://github.com/MaryHal/shmupmametgm/archive/v2.1.tar.gz")
+sha256sums=('7933b03f3921f026ab21c50cf7579cda98b669a2c5e60708c5e0524a715fe58c')
build() {
- cd "$srcdir/$pkgname"
+ cd "$srcdir/${pkgname}-${pkgver}"
make SUBTARGET=tgm NOWERROR=1 || return 1
}
package() {
- install -Dm755 "$srcdir/$pkgname/mametgm64" -t "$pkgdir/usr/bin/"
+ basesrcdir="$srcdir/${pkgname}-${pkgver}"
+ install -Dm755 "$basesrcdir/mametgm64" -t "$pkgdir/usr/bin/"
}