summaryrefslogtreecommitdiff
path: root/extra/pysmbc/PKGBUILD
blob: 895a5c1d1573a650f4c3aabfc461b91ecb5d57e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# $Id: PKGBUILD 210169 2014-04-10 15:47:29Z fyan $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Shane Peelar <lookatyouhacker@gm@il(d0t)c0m>

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
}