summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian 'Swift Geek' Grzywna2019-08-10 21:51:21 +0200
committerSebastian 'Swift Geek' Grzywna2019-08-10 21:52:03 +0200
commit8caa4b3362f9090e26d1734e21d0e67fbdf0d10f (patch)
treebd380f32ac6f639602f2b79fdfadb0df01ffb208
parentbd7b30fca34bc67debe977a928ffdea6a8d12e79 (diff)
downloadaur-8caa4b3362f9090e26d1734e21d0e67fbdf0d10f.tar.gz
Fix pkgver
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 916ec280048..96b7c2a7b0f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,7 +15,7 @@ sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
- git rev-parse --short HEAD # Fix to better comply with github display
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {