# Maintainer: ookami pkgname=proxy-ns pkgver=1.2.3 pkgrel=1 pkgdesc="Run programs in a network namespace where all traffic go through proxy" arch=('x86_64') url="https://git.ookami.one/cgit/proxy-ns" license=('GPL') depends=('bash' 'glibc' 'libcap' 'iproute2' 'badvpn-git') makedepends=('git' 'make') source=("git+$url") sha512sums=('SKIP') backup=( etc/proxy-nsd/main.conf ) build() { cd "$srcdir/$pkgname" git checkout "v$pkgver" make } package() { cd "$srcdir/$pkgname" make DESTDIR="$pkgdir" PREFIX=/usr install }