summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorChristian Hesse2019-08-06 16:33:25 +0200
committerChristian Hesse2019-08-06 16:33:25 +0200
commitb4f223d04d336722ef2029a122d3a47dc5f283ce (patch)
tree7646791c3569b7617d5bde686c34be79ba68321b /PKGBUILD
parent558017233da5474080de561c9146352a3f1108e9 (diff)
downloadaur-networkmanager-dispatcher-openvpn.tar.gz
commit networkmanager-dispatcher-openvpn 0.r6.g031bc89-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 23c7eee06a2..14ff8ebf580 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
# Maintainer: Christian Hesse <mail@eworm.de>
pkgname=networkmanager-dispatcher-openvpn
-pkgver=0.r5.gb99fa05
-pkgrel=2
+pkgver=0.r6.g031bc89
+pkgrel=1
pkgdesc='Networkmanager Dispatcher script for OpenVPN'
arch=('any')
depends=('openvpn' 'networkmanager')
@@ -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
}