diff options
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..897ca2b13df5 --- /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 000000000000..5bd0d05771e9 --- /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 +} |