diff options
author | Kevin MacMartin | 2016-05-13 23:45:29 -0400 |
---|---|---|
committer | Kevin MacMartin | 2016-05-13 23:45:29 -0400 |
commit | a47abf952d9e02f17e2bd9aba47c3b9f7dc8d5c9 (patch) | |
tree | 6364e6409b5c357ea25b7e77f0dacdaa4044d307 | |
parent | dd538c55bc29886f916b643b89ba5d35c9b6ccb9 (diff) | |
download | aur-a47abf952d9e02f17e2bd9aba47c3b9f7dc8d5c9.tar.gz |
Tweak the pkgver function so the latest upstream version is still pulled in and update to 199v0.3.5a
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -1,8 +1,8 @@ # Generated by mksrcinfo v8 -# Thu Feb 25 15:20:38 UTC 2016 +# Sat May 14 03:45:14 UTC 2016 pkgbase = shattered-pixel-dungeon-git pkgdesc = Shattered fork of the popular rogue-like game - pkgver = 192v0.3.3 + pkgver = 199v0.3.5a pkgrel = 1 url = http://shatteredpixel.tumblr.com arch = any @@ -2,7 +2,7 @@ _pkgname=shattered-pixel-dungeon pkgname=$_pkgname-git -pkgver=192v0.3.3 +pkgver=199v0.3.5a pkgrel=1 pkgdesc='Shattered fork of the popular rogue-like game' url='http://shatteredpixel.tumblr.com' @@ -23,7 +23,7 @@ sha512sums=( pkgver() { cd $_pkgname - printf '%s' "$(git rev-list --count HEAD)$(git log | egrep '^\s*v' | head -n 1 | sed 's|^\s*||;s|:.*$||;s| .*$||')" + printf '%s' "$(git rev-list --count HEAD)$(git log | egrep -o 'v[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9a-z]*' | head -n 1)" } build() { |