opt/sshfs-fuse/Pkgfile

28 lines
809 B
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01:00
# Description: Remote filesystem in userspace using SSH
# URL: https://github.com/libfuse/sshfs
2011-02-02 13:44:37 +01:00
# Maintainer: Juergen Daubert, jue at crux dot nu
2006-10-03 11:41:34 +02:00
# Packager: Jukka Heino, jukka dot heino at gmail dot com
# Depends on: fuse3 glib
2006-02-23 16:26:10 +01:00
name=sshfs-fuse
2017-09-26 11:45:34 +02:00
version=3.3.0
2016-06-21 12:18:15 +02:00
release=1
2017-09-26 11:45:34 +02:00
source=(https://github.com/libfuse/sshfs/releases/download/sshfs-$version/sshfs-$version.tar.xz
sshfs.1)
2006-02-23 16:26:10 +01:00
build() {
2016-06-21 12:18:15 +02:00
cd sshfs-$version
2017-09-26 11:45:34 +02:00
# fix man-dir location (only used if python-docutils is installed)
sed -i '/mandir/s/1/man1/' meson.build
local JOBS=
[[ $MAKEFLAGS =~ (-j|-j *|--jobs=)([[:digit:]]+) ]] && JOBS="-j ${BASH_REMATCH[2]}"
mkdir build ; cd build
meson .. --prefix /usr
DESTDIR=$PKG ninja $JOBS install
install -D $SRC/sshfs.1 $PKG/usr/share/man/man1/sshfs.1
2006-02-23 16:26:10 +01:00
}