# $Id: PKGBUILD 210169 2014-04-10 15:47:29Z fyan $ # Maintainer: Andrea Scarpino # Contributor: Shane Peelar pkgbase=pysmbc pkgname=python2-pysmbc _pypiname=pysmbc pkgver=1.0.14.1 pkgrel=2 pkgdesc="Python bindings for libsmbclient" arch=('i686' 'x86_64') url="http://pypi.python.org/pypi/pysmbc/" license=('GPL') depends=('python2' 'smbclient') provides=('pysmbc') conflicts=('pysmbc') replaces=('pysmbc') source=("http://pypi.python.org/packages/source/p/${_pypiname}/${_pypiname}-${pkgver}.tar.bz2") md5sums=('9299b5576cf838d07a5048ed22a5c1d4') build(){ cd ${_pypiname}-${pkgver} python2 setup.py build } package_python2-pysmbc() { cd ${_pypiname}-${pkgver} python2 setup.py install --root="$pkgdir" --optimize=1 }