summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ed999b63bf1..01da364d38f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -18,7 +18,7 @@ md5sums=(SKIP)
pkgver() {
cd $_gitname
- git describe | sed 's/^kmscon\-//; s/-/./g'
+ git describe | sed 's/^kmscon\-//; s/\([^-]*-g\)/r\1/; s/-/./g'
}
build() {