summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5bd0d05771e95412e430d1e96a9da2f0ccc43717 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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
}