diff options
author | m-pilia | 2017-10-31 15:58:36 +0100 |
---|---|---|
committer | m-pilia | 2017-10-31 15:58:36 +0100 |
commit | 43e7799e254b19c796494328bb4ab2b9b0571f47 (patch) | |
tree | f9d7f7e439cee98783bbcef06a2ac83ddd0efdac | |
parent | e09c83b41982f189b5cd44cb6fbeeea110983c86 (diff) | |
download | aur-43e7799e254b19c796494328bb4ab2b9b0571f47.tar.gz |
fix pkgver
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = sigar-git pkgdesc = System Information Gatherer And Reporter pkgver = sigar.1.6.4.r600.ga6c61edf - pkgrel = 1 + pkgrel = 2 url = https://github.com/hyperic/sigar arch = x86_64 license = apache @@ -2,7 +2,7 @@ pkgname=sigar-git _pkgname=sigar pkgver=sigar.1.6.4.r600.ga6c61edf -pkgrel=1 +pkgrel=2 pkgdesc="System Information Gatherer And Reporter" arch=('x86_64') url="https://github.com/hyperic/sigar" @@ -14,7 +14,7 @@ sha512sums=('SKIP') pkgver() { cd "$_pkgname" - git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' + git describe --long | sed 's/^sigar-//;s/\([^-]*-g\)/r\1/;s/-/./g' } prepare() { |