diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 5 insertions, 3 deletions
@@ -1,6 +1,6 @@ pkgbase = iperf-git pkgdesc = A tool to measure maximum TCP bandwidth - pkgver = abb57d0 + pkgver = r368.g51239ca pkgrel = 1 epoch = 1 url = https://sourceforge.net/projects/iperf2/ @@ -1,7 +1,7 @@ # Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net> pkgname=iperf-git -pkgver=abb57d0 +pkgver=r368.g51239ca pkgrel=1 epoch=1 pkgdesc="A tool to measure maximum TCP bandwidth" @@ -23,7 +23,9 @@ sha256sums=('SKIP' pkgver() { cd "code" - git describe --long --tags --always + _rev=$(git rev-list --count --all) + _hash=$(git rev-parse --short HEAD) + printf "r%s.g%s" "$_rev" "$_hash" } build() { |