summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Grande2021-01-12 16:16:46 -0500
committerVincent Grande2021-01-12 16:16:46 -0500
commit95503c3509abdb59871e606bd9dea39bfa521415 (patch)
tree7d8cd441845b41f79c61c7fc2deef9abec007ced
parent0adbed90f8f8f9ef3a88715775990bd807d00eb5 (diff)
downloadaur-95503c3509abdb59871e606bd9dea39bfa521415.tar.gz
fix
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index bd8121e969f7..1b84f3c62a4a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -24,7 +24,7 @@ sha512sums=('SKIP'
pkgver() {
cd libcap
- git describe --tags --always | sed 's/-/+/g'
+ git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {