PKGBUILDs/extra/pysmbc/PKGBUILD

21 lines
593 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $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
}