diff options
Diffstat (limited to 'community/smbnetfs/PKGBUILD')
-rw-r--r-- | community/smbnetfs/PKGBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/community/smbnetfs/PKGBUILD b/community/smbnetfs/PKGBUILD new file mode 100644 index 000000000..d03000d33 --- /dev/null +++ b/community/smbnetfs/PKGBUILD @@ -0,0 +1,42 @@ +# $Id: PKGBUILD 38375 2011-01-26 10:26:56Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com> + +pkgname=smbnetfs +pkgver=0.5.3a +pkgrel=3 +pkgdesc="small C program that mounts Microsoft network neighborhood in single directory." +arch=('i686' 'x86_64') +url="http://smbnetfs.sourceforge.net/" +license=('GPL') +depends=('fuse' 'smbclient') +backup=(etc/smbnetfs/.smb/smb.conf \ + etc/smbnetfs/.smb/smbnetfs.conf \ + etc/smbnetfs/.smb/smbnetfs.auth \ + etc/smbnetfs/.smb/smbnetfs.host) +install=smbnetfs.install +options=(force docs) +source=(http://downloads.sourceforge.net/smbnetfs/$pkgname-$pkgver.tar.bz2 \ + rc-smbnetfs \ + conf-smbnetfs) +md5sums=('66d1477ca981f5a07b4b21c6bdbdc442' + '68c824ba670aa9173382d17eae574e8f' + 'e150c4cd894cc6ade11b94c95cf17ec4') + +build() { + cd $srcdir/$pkgname-$pkgver + + [ $NOEXTRACT -eq 1 ] || ./configure --prefix=/usr --docdir=/usr/share/doc/smbnetfs --with-gnome-keyring=no + make + make DESTDIR=$pkgdir install + + mv $pkgdir/usr/share/doc/smbnetfs* $pkgdir/usr/share/doc/smbnetfs + + mkdir -p $pkgdir/etc/smbnetfs/.smb && \ + install -D -m 0644 $srcdir/$pkgname-$pkgver/conf/* $pkgdir/etc/smbnetfs/.smb/ +# install -D -m 0644 $srcdir/$pkgname-$pkgver/doc/INSTALL $pkgdir/usr/share/doc/smbnetfs/INSTALL + install -D -m 0644 $srcdir/$pkgname-$pkgver/README $pkgdir/usr/share/doc/smbnetfs/README + install -D -m 0755 $srcdir/rc-smbnetfs $pkgdir/etc/rc.d/smbnetfs + install -D -m 0644 $srcdir/conf-smbnetfs $pkgdir/etc/conf.d/smbnetfs + touch $pkgdir/etc/smbnetfs/.smb/smb.conf +} |