Advertisement
Guest User

Untitled

a guest
Oct 10th, 2010
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.75 KB | None | 0 0
  1. # Contributor: Hylix <hylixx@gmail.com>
  2.  
  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. makedepends=()
  12. optdepends=()
  13. source=("http://downloads.sourceforge.net/project/socksipy/socksipy/SocksiPy%20${pkgver}/SocksiPy.tar.gz")
  14. md5sums=('3be8be26230bc9eca94eb3335740ed5e')
  15. _pythonversion=`python2 -V 2>&1 | sed 's/Python[[:space:]]\+\([0-9]\+\.[0-9]\+\).*/\1/'`
  16.  
  17. build() {
  18.   install -Dm644 socks.py ${pkgdir}/usr/lib/python${_pythonversion}/socks.py
  19.  
  20.   install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE || return 1
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement