# Maintainer: PktSurf <smlinux@pktsurf.in>
app=sshfs
version=2.8
build=1sml
homepage="https://github.com/libfuse/sshfs"
download="https://github.com/libfuse/sshfs/archive/refs/tags/sshfs_$version.tar.gz"
desc="Network file system client to connect to SSH servers"
requires="glib fuse pcre"

prepbuilddir() {
  mkandenterbuilddir
  rm -rf $app-$version

  tar xf $srcdir/$app-$version.tar.?z*
  cd $app-$version
  fixbuilddirpermissions
}

build() {
  ./configure \
    --prefix=

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
0f3d97f6edb458208f9080bbb539220cfe872e712a8ee8c21ecebcea0bb5541e28032ae715192fbcfef8bc3b22b89a3f22ee743cc8eb2bfa9f709855a419a4bd  sshfs-2.8.tar.lz
"
