mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
38 lines
1.5 KiB
Bash
38 lines
1.5 KiB
Bash
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
|
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
|
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
|
|
|
pkgname=smbnetfs
|
|
pkgver=0.3.11a
|
|
pkgrel=1
|
|
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 sudo)
|
|
makedepends=(patch)
|
|
backup=(etc/smbnetfs/.smb/smb.conf \
|
|
etc/smbnetfs/.smb/smbnetfs.conf \
|
|
etc/smbnetfs/.smb/smbnetfs.auth \
|
|
etc/smbnetfs/.smb/smbnetfs.host)
|
|
install=smbnetfs.install
|
|
source=(http://downloads.sourceforge.net/smbnetfs/$pkgname-$pkgver.tar.bz2 \
|
|
rc-smbnetfs \
|
|
conf-smbnetfs)
|
|
md5sums=('4b9e9c839533332173c7f4a29037c752'
|
|
'd1a5734f79496538d9e12015df1e4fed'
|
|
'e150c4cd894cc6ade11b94c95cf17ec4')
|
|
|
|
build() {
|
|
cd $startdir/src/$pkgname-$pkgver
|
|
./configure --prefix=/usr
|
|
make || return 1
|
|
make DESTDIR=$startdir/pkg install && \
|
|
mkdir -p $startdir/pkg/etc/smbnetfs/.smb && \
|
|
install -D -m 0644 $startdir/src/$pkgname-$pkgver/doc/smbnetfs.conf $startdir/pkg/etc/smbnetfs/.smb/smbnetfs.conf && \
|
|
install -D -m 0644 $startdir/src/$pkgname-$pkgver/doc/INSTALL $startdir/pkg/usr/share/smbnetfs/INSTALL && \
|
|
install -D -m 0644 $startdir/src/$pkgname-$pkgver/README $startdir/pkg/usr/share/smbnetfs/README && \
|
|
install -D -m 0755 $startdir/src/rc-smbnetfs $startdir/pkg/etc/rc.d/smbnetfs && \
|
|
install -D -m 0644 $startdir/src/conf-smbnetfs $startdir/pkg/etc/conf.d/smbnetfs && \
|
|
touch $startdir/pkg/etc/smbnetfs/.smb/smb.conf
|
|
}
|