# $Id: PKGBUILD 140148 2011-10-07 22:11:09Z eric $ # Maintainer: Andrea Scarpino # Contributor: Shane Peelar pkgname=pysmbc pkgver=1.0.11.1 pkgrel=1 pkgdesc="Python bindings for libsmbclient" arch=('i686' 'x86_64') 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=('97a2a9738f41f89400c510efb2c20f77') build(){ cd "${srcdir}/${pkgname}-${pkgver}" python2 setup.py build } package() { cd "${srcdir}/${pkgname}-${pkgver}" python2 setup.py install --root="$pkgdir" --optimize=1 }