updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / python2-ssh / PKGBUILD
blob7a0734d3e07fd1dd6ff3f2b1ab37ec074dad177f
1 # Contributor: Your Name <youremail@domain.com>
3 pkgname=python2-ssh
4 pkgver=1.7.11
5 pkgrel=1
6 pkgdesc="Python SSH2 protocol library"
7 arch=(any)
8 url="http://pypi.python.org/pypi/ssh"
9 license=('LGPL')
10 depends=('python2' 'pycrypto')
11 makedepends=()
12 provides=()
13 conflicts=()
14 replaces=()
15 backup=()
16 options=(!emptydirs)
17 install=
18 source=("http://pypi.python.org/packages/source/s/ssh/ssh-$pkgver.tar.gz")
19 md5sums=('4ee91d9c1cda0841dd7d7bd6fb029ef1')
21 package() {
22     cd "$srcdir/ssh-$pkgver"
23     python2 setup.py install --root="$pkgdir/" --optimize=1
25     install -D -m644 README ${pkgdir}/usr/share/doc/${pkgname}/README
26     install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE