updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / socksipy / PKGBUILD
blob0f5d7ff565870632ccf41180a5c6797768f201af
1 # Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
3 pkgname=socksipy
4 pkgver=1.00
5 pkgrel=4
6 pkgdesc="Provides a socket-like interface that supports connections to any TCP service through the use of a SOCKS4, SOCKS5 or HTTP proxy. "
7 arch=('any')
8 license=('BSD')
9 url="http://socksipy.sourceforge.net/"
10 depends=('python2')
11 source=("http://downloads.sourceforge.net/project/socksipy/socksipy/SocksiPy%20${pkgver}/SocksiPy.tar.gz")
12 md5sums=('3be8be26230bc9eca94eb3335740ed5e')
14 build() {
15         _site_packages=$(python2 -sSc 'import site; print site.getsitepackages()[0]')
16         install -Dm644 socks.py "${pkgdir}$_site_packages/socks.py"
17         install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"