aboutsummaryrefslogblamecommitdiffstats
path: root/main/proxychains-ng/APKBUILD
blob: 30b14dfcf94422d744c16ba0589fea4748784da1 (plain) (tree)
1
2
3
4
5
                                                           
                                                          
                        
           
        
































                                                                        
                                                                 


                                                        


                                                                                                                                                        
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=proxychains-ng	
pkgver=4.11
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="a3a96e60f29358499a33b5ca9ec87750  v4.11.zip"
sha256sums="281ea042c57293b97a341b1cce62d5c1bc6f525d67ce031df618e766d43135f1  v4.11.zip"
sha512sums="b4bcf430fb2801bec40e25e5686ba4e4211ae83f5bffe0471c216c955b02ae42605f259d79dbf41171e0c4cac1e99d67090c79503e565cb6acf9533a22e266dd  v4.11.zip"