summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 082e7fd1ced593b92718af9949bc9c576f19786c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
pkgname=openvpn-update-resolv-conf-git
pkgver=r24.994574f
pkgrel=1
pkgdesc="OpenVPN Update resolvconf"
arch=('any')
url="https://github.com/masterkorp/openvpn-update-resolv-conf"
license=('GPL')
makedepends=('git')
depends=('openvpn' 'openresolv' 'bash')
source=('git://github.com/masterkorp/openvpn-update-resolv-conf')
sha256sums=('SKIP')
pkgver() {
  cd $srcdir/openvpn-update-resolv-conf
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
  # Install vim files.
  cd $srcdir/openvpn-update-resolv-conf
  install -D -m655 update-resolv-conf.sh "${pkgdir}/etc/openvpn/update-resolv-conf"
}

# vim:set ts=2 sw=2 et: