# $Id: PKGBUILD 127695 2011-06-17 17:55:40Z andrea $ # Maintainer: Andrea Scarpino # Contributor: Shane Peelar pkgname=pysmbc pkgver=1.0.11 pkgrel=1 pkgdesc="Python bindings for libsmbclient" arch=('i686' 'x86_64' 'mips64el') url="http://pypi.python.org/pypi/pysmbc/" license=('GPL') depends=('python2' 'smbclient') source=("http://pypi.python.org/packages/source/p/${pkgname}/${pkgname}-${pkgver}.tar.bz2") md5sums=('8593053cfe3cc0b79d8c4ab892044d4b') build(){ cd "${srcdir}/${pkgname}-${pkgver}" python2 setup.py build } package() { cd "${srcdir}/${pkgname}-${pkgver}" python2 setup.py install --root="$pkgdir" --optimize=1 }