blob: 79b6e5635829c3e74c90f6d90f15379409ca0949 (
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
|
# Maintainer: ookami <mail@ookami.one>
pkgname=proxy-ns
pkgver=1.2.5
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
}
|