PKGBUILDs/community/python-paramiko/PKGBUILD
2009-10-09 21:15:33 -05:00

26 lines
853 B
Bash

# Maintainer: Douglas Soares de Andrade <douglas@archlinux.org>
# Contributor: Mario Danic <mario.danic@gmail.com>
pkgname=python-paramiko
pkgver=1.7.5
pkgrel=1
pkgdesc="Python module that implements the SSH2 protocol"
url="http://www.lag.net/paramiko/"
license=('LGPL')
arch=('i686' 'x86_64')
depends=('pycrypto')
replaces=('paramiko')
conflicts=('paramiko')
provides=('paramiko')
source=(http://www.lag.net/paramiko/download/paramiko-$pkgver.tar.gz)
md5sums=('7eac2199bea086cc22966eb223c64e7f')
build() {
cd $startdir/src/paramiko-$pkgver
python setup.py install --root=$startdir/pkg
install -Dm 644 ${srcdir}/paramiko-${pkgver}/README ${pkgdir}/usr/share/doc/${pkgname}/README
cp -R ${srcdir}/paramiko-${pkgver}/docs ${pkgdir}/usr/share/doc/${pkgname}/html
cp -R ${srcdir}/paramiko-${pkgver}/demos ${pkgdir}/usr/share/doc/${pkgname}/
}