summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathieu Jobin2017-06-06 10:14:46 -0400
committerMathieu Jobin2017-06-06 11:32:58 -0400
commitf3c253b4402890925503dd95efd9c3643e41344c (patch)
tree19290a5bfa7c8e6f443995c749dd032b927584fb
parenta1c41c28e3f5d6cd04c6f48485a464c9497d27ef (diff)
downloadaur-f3c253b4402890925503dd95efd9c3643e41344c.tar.gz
g is for git
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 641a25855a7..8df5778e831 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -19,7 +19,7 @@ pkgver() {
sha=`echo "$gitinfo" | head -n 1 | cut -c -7`
tag=`echo "$gitinfo" | tail -n 1 | awk -F "/" {'print $3'}`
commits=`curl -s ${srcgiturl}/releases/tag/${tag} | grep -o "[0-9]* commits" | awk {'print $1'}`
- printf "%s.r%s.%s" $tag $commits $sha
+ printf "%s.r%s.g%s" $tag $commits $sha
}
prepare() {