aboutsummaryrefslogtreecommitdiffstats
path: root/main/proxychains-ng/APKBUILD
blob: 9e73f5040856a5bce230c2cbd16de43cd983a785 (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
30
31
32
33
34
35
36
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=proxychains-ng
pkgver=4.12
pkgrel=0
pkgdesc="This tool provides proxy server support to any app."
url="https://github.com/rofl0r/proxychains-ng"
arch="all"
license="GPL2"
depends=""
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages=""
source="https://github.com/rofl0r/$pkgname/archive/v$pkgver.zip"
builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc/proxychains
	make || return 1
}

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

md5sums="f1d62c5ba10b58d601260d91206da967  v4.12.zip"
sha256sums="bc086425d868fac0300e3fa5d635f14b047b88b1831c1ec72a81e63747347e75  v4.12.zip"
sha512sums="c3374dd9f3d6ef978b628cbcb9483476f4fc154c14882e74edb580100a784a5a8ec2ab92e259f9f3827879e0d249071d6294dca394c0bd05db7fa03e9dd16f46  v4.12.zip"