summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kobel2018-09-06 16:42:25 +0200
committerAlexander Kobel2018-09-06 16:42:25 +0200
commitc6bd5066f37775cea73857c54cda71fb76870ad5 (patch)
treec1a948a1206f2833f8d3ded0df4f248c16f589d4
downloadaur-c6bd5066f37775cea73857c54cda71fb76870ad5.tar.gz
Initial import: vpn-slice 0.4.1
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD23
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..897ca2b13df
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = vpn-slice
+ pkgdesc = vpnc-script replacement for easy and secure split-tunnel VPN setup
+ pkgver = 0.4.1
+ pkgrel = 1
+ url = https://github.com/dlenski/vpn-slice
+ arch = any
+ license = GPL
+ makedepends = python-setuptools
+ depends = python
+ depends = bind-tools
+ depends = iproute2
+ depends = iptables
+ source = https://github.com/dlenski/vpn-slice/archive/0.4.1.tar.gz
+ md5sums = e95e28e75b84094a405274359caf9c3c
+
+pkgname = vpn-slice
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..5bd0d05771e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: Alexander Kobel <a-kobel@a-kobel.de>
+
+pkgname=vpn-slice
+pkgver=0.4.1
+pkgrel=1
+pkgdesc='vpnc-script replacement for easy and secure split-tunnel VPN setup'
+arch=('any')
+url="https://github.com/dlenski/${pkgname}"
+license=('GPL3')
+depends=(python bind-tools iproute2 iptables)
+makedepends=(python-setuptools)
+source=("${url}/archive/${pkgver}.tar.gz")
+md5sums=('e95e28e75b84094a405274359caf9c3c')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ python setup.py build
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ python setup.py install --root="${pkgdir}" --optimize=1
+}