PKGBUILDs/extra/pysmbc/PKGBUILD
2009-10-09 21:23:22 -05:00

20 lines
593 B
Bash

# $Id: $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Shane Peelar <lookatyouhacker@gm@il(d0t)c0m>
pkgname=pysmbc
pkgver=1.0.6
pkgrel=3
pkgdesc="Python libsmbclient bindings"
arch=('i686' 'x86_64')
url="http://cyberelk.net/tim/software/pysmbc/"
license=('GPL')
depends=('python' 'smbclient')
source=("http://cyberelk.net/tim/data/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
md5sums=('ac8f98a40b0fc4b6ab4470f10489887a')
build(){
cd ${srcdir}/${pkgname}-${pkgver}
make || return 1
install -Dm644 smbc.so $pkgdir/usr/lib/python2.6/site-packages/smbc.so || return 1
}