diff options
author | Narthorn | 2016-06-23 18:55:54 +0200 |
---|---|---|
committer | Narthorn | 2016-06-23 18:55:54 +0200 |
commit | 501b4989838c4023e7e128dcaadaf20c09b31ba1 (patch) | |
tree | 1ac622ab6e1fe0b74ec393eb3962a4fe702b5435 | |
parent | f1364958eb2d68cc472a44295d81bb879682d466 (diff) | |
download | aur-501b4989838c4023e7e128dcaadaf20c09b31ba1.tar.gz |
Fix pkgver() not picking up non-annotated tags
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ # Generated by mksrcinfo v8 -# Fri Jun 10 17:13:38 UTC 2016 +# Thu Jun 23 16:55:15 UTC 2016 pkgbase = mtr-git pkgdesc = Combines the functionality of traceroute and ping into one tool (CLI version, git) pkgver = v0.86.r64.g85c7550 @@ -18,7 +18,7 @@ sha256sums=('SKIP') pkgver() { cd $_pkgname - git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } build() { |