### this file is sourced not run
PKGNAME=proxychains-ng
PKGVER=4.14.2020.10
PKGBUILD=1
PKGARCH=noarch

# source: james

hash=7fe813949644b115b0127279517dc7c0ee2d63b9
hash7=${hash#???????}; hash7=${hash%$hash7}
PKGVER=${PKGVER}_$hash7

TARBALL=${PKGNAME}-${PKGVER}.tar.gz
MD5SUM=6f05942479ef4178eb5cca810c5beef6
SRC_URL=https://github.com/rofl0r/${PKGNAME}/archive/${hash}.tar.gz
BUNDLE=

SLACKREQ=''

SLACKDESC="${PKGNAME}: ${PKGNAME} ${PKGVER} (Redirect connections through proxy servers)
${PKGNAME}: 
${PKGNAME}: ProxyChains is a UNIX program, that hooks network-related libc functions
${PKGNAME}: in DYNAMICALLY LINKED programs via a preloaded DLL (dlsym(), LD_PRELOAD)
${PKGNAME}: and redirects the connections through SOCKS4a/5 or HTTP proxies.
${PKGNAME}: It supports TCP only (no UDP/ICMP etc).
${PKGNAME}: 
${PKGNAME}: https://github.com/rofl0r/proxychains-ng
${PKGNAME}: 
${PKGNAME}: 
${PKGNAME}: 
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/${PKGNAME}* &&
	pkg_build_autoconf &&
	pkg_build_slackdesc	&&

	# install extra files
	install -m644 src/proxychains.conf /etc/proxychains.conf.sample &&
	install -dm755 /usr/share/doc/proxychains       &&
	install -m644 README /usr/share/doc/proxychains &&
	true
}
