diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/proxychains-ng/APKBUILD | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/main/proxychains-ng/APKBUILD b/main/proxychains-ng/APKBUILD new file mode 100644 index 0000000000..b40ba25b54 --- /dev/null +++ b/main/proxychains-ng/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=proxychains-ng +pkgver=4.8.1 +pkgrel=1 +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="e36bf8fd4b614295cb774a3ebd7828a1 v4.8.1.zip" +sha256sums="2d332d01189c1969ab2100ec1f50f24c853253e41a99aec51496a6320c8eb939 v4.8.1.zip" +sha512sums="f1d42abe65be3420256438cf5f89b7b5fc3d5439546e915ec0fd1e2cab9223825c3a638fe32349b9ea0442f5c26d1ef9a2f8e660eb4af5ebd34a07a6541e6ec3 v4.8.1.zip" |