summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrainfucksec2018-02-19 08:50:05 +0100
committerbrainfucksec2018-02-19 08:50:05 +0100
commit47ae22ef31cd3ade482a5c7b714ef8dbfeba7269 (patch)
tree3e6dbf939c53a4e466c984ae8f22b7af59d33536
parent5efe674517de52ac3064635ba3666e187b434433 (diff)
downloadaur-47ae22ef31cd3ade482a5c7b714ef8dbfeba7269.tar.gz
version 1.12.0
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 907e0e0e8ba..8fa62c876d6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,8 +15,8 @@ source=("git+https://github.com/brainfucksec/${_gitname}/")
md5sums=('SKIP')
pkgver() {
- cd "$pkgname"
- git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+ cd $pkgname
+ git describe --tags --long | sed -r -e 's,^[^0-9]*,,;s,([^-]*-g),r\1,;s,[-_],.,g'
}
package() {