summaryrefslogtreecommitdiff
path: root/main/proxychains-ng/APKBUILD
blob: afc52f005ff5fdf4bc8d15b7d75f83ab313acbbd (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
29
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=proxychains-ng
pkgver=4.16
pkgrel=0
pkgdesc="This tool provides proxy server support to any app."
url="https://github.com/rofl0r/proxychains-ng"
arch="all"
license="GPL-2.0"
options="!check"
source="https://github.com/rofl0r/$pkgname/archive/v$pkgver.zip"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc/proxychains
	make
}

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

sha512sums="
f9c0ae33a8b678e5461ca39b19cf64fadd4f91c93d6328bb965ba58b2205613bb2614b0bb5c68d2d29d7071becb97a2faab729fa8b0a9ccf39218a9bbbca90c7  v4.16.zip
"