summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Goto2018-07-27 10:51:34 +0200
committerPhilip Goto2018-07-27 10:51:34 +0200
commit6181d04ea49f9563f17fbc40688cf3d23f3a9770 (patch)
tree695d062660051c89870777bae51f6d05711a3b5f
parent277d98cacdcf07aa839265e0ee8928a3ca097474 (diff)
downloadaur-6181d04ea49f9563f17fbc40688cf3d23f3a9770.tar.gz
Improve versioning
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 70b1d1db9ca..080cb93a727 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,7 +17,7 @@ sha256sums=(SKIP)
pkgver() {
cd Akira
- git describe --tags --always | sed 's/-/.r/; s/-g/./'
+ git describe --long --tags --always | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {