aboutsummaryrefslogtreecommitdiffstats
path: root/main/proxychains-ng/APKBUILD
blob: c1c282be1bcd24dd12638c8e8b921dc5ce2b7477 (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=proxychains-ng
pkgver=4.13
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"
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
}

sha512sums="cbe3ea3cfead53ca92e5ab1d33045831b3a78f03ba867d10c0c22f116a52352d5ad7fa682eba88018c336de0eba69a2f3951890ce816a37c94aa4577c13a8260  v4.13.zip"