summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorm-pilia2017-10-31 15:58:36 +0100
committerm-pilia2017-10-31 15:58:36 +0100
commit43e7799e254b19c796494328bb4ab2b9b0571f47 (patch)
treef9d7f7e439cee98783bbcef06a2ac83ddd0efdac /PKGBUILD
parente09c83b41982f189b5cd44cb6fbeeea110983c86 (diff)
downloadaur-43e7799e254b19c796494328bb4ab2b9b0571f47.tar.gz
fix pkgver
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index c304555f03f4..45766012de86 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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() {