summaryrefslogtreecommitdiff
path: root/extra/pysmbc/PKGBUILD
blob: 3864697f85738835c60e4fb60529a93276b950eb (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
# $Id: PKGBUILD 140148 2011-10-07 22:11:09Z eric $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Shane Peelar <lookatyouhacker@gm@il(d0t)c0m>

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
}