#Maintainer: Dimitris Tzemos <dijemos~at~gmail.com>

pkgname=sshfs
pkgver=2.8
pkgrel=1dj
_tag=sshfs_${pkgver/./_}
source=("https://github.com/libfuse/sshfs/releases/download/sshfs_$pkgver/sshfs-$pkgver.tar.gz")
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "faq.txt")
url=https://github.com/libfuse/sshfs

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"sshfs (filesystem client based on the SSH File Transfer Protocol)"
"Since most SSH servers already support the SSH protocol, sshfs is very"
"easy to set up: i.e. on the server side there's nothing to do. On the"
"client side mounting the filesystem is as easy as logging into the"
"server with ssh."
)


build() {
	cd $startdir/src/$pkgname-$pkgver

	autoreconf -i
	
	./configure --prefix=/usr \
		--libdir=/usr/lib${LIBDIRSUFFIX} \
		--localstatedir=/var \
		--sysconfdir=/etc \
		--build=$arch-slackware-linux
	make || return 1
	make install DESTDIR=$startdir/pkg
} 
