summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorm-pilia2017-10-31 15:58:36 +0100
committerm-pilia2017-10-31 15:58:36 +0100
commit43e7799e254b19c796494328bb4ab2b9b0571f47 (patch)
treef9d7f7e439cee98783bbcef06a2ac83ddd0efdac
parente09c83b41982f189b5cd44cb6fbeeea110983c86 (diff)
downloadaur-43e7799e254b19c796494328bb4ab2b9b0571f47.tar.gz
fix pkgver
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7f5e38d1aea9..8f59dce4c8c9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
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() {