updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / usmb / PKGBUILD
blob9586037a46038e2e7ffafdd9ef611c38c4085e6a
1 # Contributor: Charles Lindsay <charles@chaoslizard.org>
2 pkgname=usmb
3 pkgver=20100212
4 pkgrel=2
5 pkgdesc="Mount SMB shares via fuse"
6 arch=('i686' 'x86_64')
7 url="http://www.ametros.net/code.html"
8 license=('GPL')
9 depends=('fuse' 'smbclient' 'heimdal' 'libldap' 'libxml2')
10 source=(
11         "http://www.ametros.net/downloads/$pkgname-$pkgver.tar.gz"
12         'makefile-destdir.patch'
14 md5sums=(
15         '3e90560718711ea23f95494bf2f00ec4'
16         'c52aea929c0c29d817af45abc4fee71c'
19 build() {
20         cd ${pkgname}-${pkgver}
21         patch -N -i ${startdir}/makefile-destdir.patch || return 1
22         ./configure --prefix=/usr || return 1
23         make || return 1
26 package() {
27         cd ${pkgname}-${pkgver}
28         make DESTDIR="$pkgdir/" install