summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Parnell2018-05-30 21:47:26 -0500
committerMatt Parnell2018-05-30 21:47:26 -0500
commit4fba8ea34de45f5b174c3bdafdd065b0c7f1d4c0 (patch)
tree91c337e39c4670e78729d1ddd3acae2776a3944c
downloadaur-4fba8ea34de45f5b174c3bdafdd065b0c7f1d4c0.tar.gz
initial commit
-rw-r--r--.SRCINFO19
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD28
3 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..5c28e35559c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+# Generated by mksrcinfo v8
+# Thu May 31 02:47:18 UTC 2018
+pkgbase = vpn-slice-git
+ pkgdesc = Python based vpnc-script replacement for easy and secure split-tunnel VPN setup
+ pkgver = 0.4.1.1.g5064276
+ pkgrel = 1
+ url = https://github.com/dlenski/vpn-slice
+ arch = any
+ license = Apache
+ makedepends = python-setuptools
+ depends = python
+ depends = bind-tools
+ depends = iproute2
+ depends = iptables
+ source = git://github.com/dlenski/vpn-slice
+ sha512sums = SKIP
+
+pkgname = vpn-slice-git
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..f1f7bab181c
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+*.pkg.*
+pkg
+src
+vpn-slice
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..9b4aaebf33f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Matt Parnell <parwok@gmail.com>
+
+pkgname=vpn-slice-git
+pkgver=0.4.1.1.g5064276
+pkgrel=1
+pkgdesc="Python based vpnc-script replacement for easy and secure split-tunnel VPN setup"
+arch=('any')
+url="https://github.com/dlenski/vpn-slice"
+license=('Apache')
+makedepends=('python-setuptools')
+depends=('python' 'bind-tools' 'iproute2' 'iptables')
+source=(git://github.com/dlenski/vpn-slice)
+sha512sums=('SKIP')
+
+pkgver() {
+ cd vpn-slice
+ echo $(git describe --tags|sed -e 's/\-/\./g')
+}
+
+build() {
+ cd "$srcdir/vpn-slice"
+ python setup.py build
+}
+
+package() {
+ cd "$srcdir/vpn-slice"
+ python setup.py install --root="$pkgdir"
+}