summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSpiros Georgaras2020-10-31 14:29:07 +0200
committerSpiros Georgaras2020-10-31 14:29:07 +0200
commit5ef70ba8114ddece6e0893d602b77e628201666d (patch)
tree09776be73fc561db739465718ef52c07856a3067 /PKGBUILD
parenteb1e8747e6d73c42018dbfb5005d28c51b5dda2b (diff)
downloadaur-5ef70ba8114ddece6e0893d602b77e628201666d.tar.gz
updating pkgver extraction as per the wiki
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 8b701683ae6b..a2ab70d89b91 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -25,7 +25,7 @@ prepare() {
pkgver() {
cd $pkgname
- git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {