summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorChristian Hesse2019-06-05 22:40:53 +0200
committerChristian Hesse2019-06-05 22:40:53 +0200
commit84236ed97d5486298a059603ef8ae1851a561c97 (patch)
tree225ed8160a6ad2771eff0a1fa1edf5780c87a974 /PKGBUILD
parent4eadf03ad058c67727e270ea5c697395e78832fe (diff)
downloadaur-wireguard-git.tar.gz
commit wireguard-git 0.0.20190601.r2.gaab8bec-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index bf60a6a551f..ad9d3f8a0f2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgbase=wireguard-git
pkgname=(wireguard-dkms-git wireguard-tools-git)
-pkgver=0.0.20171001.r5.gdeb80e5
+pkgver=0.0.20190601.r2.gaab8bec
pkgrel=1
pkgdesc='next generation secure network tunnel - git checkout'
arch=('x86_64' 'i686')
@@ -19,11 +19,11 @@ pkgver() {
printf '%s.r%s.g%s' \
"$(sed -e "s/^${pkgname%%-git}//" -e 's/^[-_/a-zA-Z]\+//' -e 's/[-_+]/./g' <<< ${GITTAG})" \
"$(git rev-list --count ${GITTAG}..)" \
- "$(git log -1 --format='%h')"
+ "$(git rev-parse --short HEAD)"
else
printf '0.r%s.g%s' \
"$(git rev-list --count master)" \
- "$(git log -1 --format='%h')"
+ "$(git rev-parse --short HEAD)"
fi
}