summaryrefslogtreecommitdiff
path: root/extra/pysmbc/PKGBUILD
blob: 42911157943ef4b9101aeb2b858b06e77e8b89f7 (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 151369 2012-02-25 18:31:05Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Shane Peelar <lookatyouhacker@gm@il(d0t)c0m>

pkgname=pysmbc
pkgver=1.0.13
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=('019dbb3bc6ee217f7389a2330cda9fe0')

build(){
  cd "${srcdir}/${pkgname}-${pkgver}"
  python2 setup.py build
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  python2 setup.py install --root="$pkgdir" --optimize=1
}