summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin MacMartin2016-05-13 23:45:29 -0400
committerKevin MacMartin2016-05-13 23:45:29 -0400
commita47abf952d9e02f17e2bd9aba47c3b9f7dc8d5c9 (patch)
tree6364e6409b5c357ea25b7e77f0dacdaa4044d307
parentdd538c55bc29886f916b643b89ba5d35c9b6ccb9 (diff)
downloadaur-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--.SRCINFO4
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1dfe680f490d..f8202e14840b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 0d74859fd6b0..56b99fa47ad5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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() {