summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorChristian Hesse2022-10-25 10:48:43 +0200
committerChristian Hesse2022-10-25 10:48:43 +0200
commit33485936c527ad012a722701e0bd2be243ee2cbb (patch)
tree64f8e538c9462cd1abb25125ee70e03877c781e5 /PKGBUILD
parentff22a8452d32c952f5535d358404fd8183c230d5 (diff)
downloadaur-dhcpcd-hook-openvpn.tar.gz
commit dhcpcd-hook-openvpn 0.2.1-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD19
1 files changed, 5 insertions, 14 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 474ae04a692d..9c3ea179e878 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,27 +1,18 @@
# Maintainer: Christian Hesse <mail@eworm.de>
pkgname=dhcpcd-hook-openvpn
-pkgver=0.2.0.r2.gdf48c35
+pkgver=0.2.1
pkgrel=1
-pkgdesc="Hook for dhcpcd to send SIGUSR1 to openvpn and reestablish connection"
+pkgdesc='Hook for dhcpcd to send SIGUSR1 to openvpn and reestablish connection'
arch=('any')
depends=('openvpn' 'dhcpcd')
makedepends=('git')
-url="https://github.com/eworm-de/dhcpcd-hook-openvpn"
+url='https://github.com/eworm-de/dhcpcd-hook-openvpn'
license=('GPL')
-source=('git://github.com/eworm-de/dhcpcd-hook-openvpn.git')
+validpgpkeys=('BD84DE71F493DF6814B0167254EDC91609BC9183') # Christian Hesse <mail@eworm.de>
+source=("git+https://github.com/eworm-de/dhcpcd-hook-openvpn.git#tag=${pkgver}?signed")
sha256sums=('SKIP')
-pkgver() {
- cd dhcpcd-hook-openvpn/
-
- if GITTAG="$(git describe --abbrev=0 --tags 2>/dev/null)"; then
- echo "$(sed -e "s/^${pkgname%%-git}//" -e 's/^[-_/a-zA-Z]\+//' -e 's/[-_+]/./g' <<< ${GITTAG}).r$(git rev-list --count ${GITTAG}..).g$(git log -1 --format="%h")"
- else
- echo "0.r$(git rev-list --count master).g$(git log -1 --format="%h")"
- fi
-}
-
package() {
cd dhcpcd-hook-openvpn/