opt/fuse3/Pkgfile

24 lines
627 B
Plaintext
Raw Normal View History

2017-02-20 14:40:15 +01:00
# Description: Interface for userspace filesystems
# URL: https://github.com/libfuse/
# Maintainer: Juergen Daubert, jue at crux dot nu
# Depends on: meson ninja
2017-02-20 14:40:15 +01:00
name=fuse3
version=3.2.0
2017-04-12 16:54:02 +02:00
release=1
source=(https://github.com/libfuse/libfuse/releases/download/fuse-$version/fuse-$version.tar.xz)
2017-02-20 14:40:15 +01:00
build() {
cd fuse-$version
local JOBS=
[[ $MAKEFLAGS =~ (-j|-j *|--jobs=)([[:digit:]]+) ]] && JOBS="-j ${BASH_REMATCH[2]}"
mkdir build ; cd build
meson .. --prefix /usr
DESTDIR=$PKG ninja $JOBS install
rm -r $PKG/{dev,etc,lib}
mv $PKG/usr/share/man/man8/mount.{fuse.8.gz,fuse3.8.gz}
2017-02-20 14:40:15 +01:00
}