summaryrefslogtreecommitdiff
path: root/repo/proxychains-ng/proxychains-ng.xibuild
blob: 92b953b9ebfa00ec8574e19c902745f20e5844cc (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
#!/bin/sh

NAME="proxychains-ng"
DESC="This tool provides proxy server support to any app."

MAKEDEPS="musl"

PKG_VER=4.16
SOURCE="https://github.com/rofl0r/proxychains-ng/archive/v$PKG_VER.zip"

build() {
	cd "$BUILD_ROOT"
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc/proxychains
	make
}

package() {
	cd "$BUILD_ROOT"
	make DESTDIR="$PKG_DEST" install install-config
	ln -s proxychains4 "$PKG_DEST"/usr/bin/proxychains
}