aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 48cbf65..a1daaee 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -21,7 +21,7 @@ md5sums=('SKIP')
pkgver() {
cd "$srcdir"/pcmanfm
- git describe --always --long | sed -E 's/([^-]*-g)/r\1/;s/-/./g'
+ printf "%s" "$(git describe --always --long | sed 's/-/-r/' | tr - .)"
}
build() {