
Untitled
By: a guest on
Oct 10th, 2010 | syntax:
Bash | size: 0.75 KB | hits: 110 | expires: Never
# Contributor: Hylix <hylixx@gmail.com>
pkgname=socksipy
pkgver=1.00
pkgrel=4
pkgdesc="Provides a socket-like interface that supports connections to any TCP service through the use of a SOCKS4, SOCKS5 or HTTP proxy. "
arch=('any')
license=('BSD')
url="http://socksipy.sourceforge.net/"
depends=('python2')
makedepends=()
optdepends=()
source=("http://downloads.sourceforge.net/project/socksipy/socksipy/SocksiPy%20${pkgver}/SocksiPy.tar.gz")
md5sums=('3be8be26230bc9eca94eb3335740ed5e')
_pythonversion=`python2 -V 2>&1 | sed 's/Python[[:space:]]\+\([0-9]\+\.[0-9]\+\).*/\1/'`
build() {
install -Dm644 socks.py ${pkgdir}/usr/lib/python${_pythonversion}/socks.py
install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE || return 1
}