summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorspider-mario2018-06-17 13:01:27 +0200
committerspider-mario2018-06-17 13:01:27 +0200
commit5fb3539a1fcb9cb5b273fd761cd00e75237eb24e (patch)
treee398b8f1c97b676b5bd7b0a32253e6b27eeb65a1 /PKGBUILD
parent6dcb914598f375e57f519ea4173cb40e4aba828b (diff)
downloadaur-5fb3539a1fcb9cb5b273fd761cd00e75237eb24e.tar.gz
Update the pkgver() function
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a09a3eb089a..d763e8d3a03 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,8 +3,9 @@
# Contributor: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
pkgname=vbam-git
-pkgver=2.303.g997b9757
+pkgver=2.0.2.r81.g9222894c
pkgrel=1
+epoch=1
pkgdesc='Nintendo Game Boy Advance emulator'
arch=('i686' 'x86_64')
url='https://github.com/visualboyadvance-m/visualboyadvance-m'
@@ -22,7 +23,7 @@ sha256sums=('SKIP'
pkgver() {
cd vbam
- git describe | perl -pe 'tr/-/./; s/^\D+//'
+ git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {