blob: 4805d50e0d7b92ebd2debefbbc3ad459aaca56bf (
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
37
38
39
40
41
42
43
44
45
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=proxychains-ng
pkgver=4.10
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
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p0 -i "$srcdir"/$i || return 1;;
esac
done
}
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="9379a1f6009957437ef4d387ebfad826 v4.10.zip"
sha256sums="15c27770513b7d1c1054b3bea0aee22b6e990bf37e34f75aa5168ad7a94f1cf5 v4.10.zip"
sha512sums="ca58bdf791ddb73477d5324fa171fb5a08ccadb04af65cbf1956134fad38199c377c8e73dfdebaf3ea785589601a5fc3c5077b731407ae1eb98dc9254149a19e v4.10.zip"
|