summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ae6883b6f8e94dfca78af0b5ce896755fccec2f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: Matt Parnell <parwok@gmail.com>

pkgname=vpn-slice-git
pkgver=v0.5.2.g69476c5
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=('GPL')
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"
}