summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Treinish2016-04-15 19:43:57 -0400
committerMatthew Treinish2016-04-15 19:43:57 -0400
commitc7661edbe1a80d919cbb513c807cca306b5e5545 (patch)
tree4f9486680af2d22b270022985e9697fb41ac50a5
downloadaur-c7661edbe1a80d919cbb513c807cca306b5e5545.tar.gz
Initial commit
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD23
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..3cbfb7e8344
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = openvpn-update-resolv-conf-git
+ pkgdesc = OpenVPN Update resolvconf
+ pkgver = r24.994574f
+ pkgrel = 1
+ url = https://github.com/masterkorp/openvpn-update-resolv-conf
+ arch = any
+ license = GPL
+ makedepends = git
+ depends = openvpn
+ depends = openresolv
+ depends = bash
+ source = git://github.com/masterkorp/openvpn-update-resolv-conf
+ sha256sums = SKIP
+
+pkgname = openvpn-update-resolv-conf-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..082e7fd1ced
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,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: