# $Id: PKGBUILD 173349 2012-12-19 14:22:07Z tpowa $ # Maintainer: Tobias Powalowski pkgname=cifs-utils pkgver=5.8 pkgrel=1 pkgdesc="CIFS filesystem user-space tools" arch=(i686 x86_64 'mips64el') url="http://wiki.samba.org/index.php/LinuxCIFS_utils" license=('GPL') depends=('libcap-ng' 'keyutils' 'krb5' 'talloc' 'libwbclient') source=(ftp://ftp.samba.org/pub/linux-cifs/cifs-utils/$pkgname-$pkgver.tar.bz2) build() { cd "$srcdir/$pkgname-$pkgver" # systemd support is broken in mount.cifs # https://bugs.archlinux.org/task/30958 ./configure --prefix=/usr --disable-systemd make } package() { cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir" ROOTSBINDIR=/usr/bin install # set mount.cifs uid, to enable none root mounting form fstab chmod +s $pkgdir/usr/bin/mount.cifs } md5sums=('6aa9c4347780872fefe5823ac06a8ff3')