blob: fc3b640e16046ed08cf778771bcd77e2b0fdec79 (
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
|
# Maintainer: ookami <mail@ookami.one>
pkgname=proxy-ns
pkgver=2.1.3
pkgrel=1
pkgdesc="Run programs in a network namespace where all traffic go through proxy"
arch=('x86_64')
url="https://github.com/OkamiW/proxy-ns"
license=('GPL')
depends=()
makedepends=('git' 'make' 'go')
source=("git+$url")
sha512sums=('SKIP')
backup=('etc/proxy-ns/config.json')
build() {
cd "$srcdir/$pkgname"
git checkout "v$pkgver"
make sysconfdir=/etc
}
package() {
cd "$srcdir/$pkgname"
make DESTDIR="$pkgdir" prefix=/usr sysconfdir=/etc install install-config
}
|