🔒 Repository is read-only – file editing is disabled.
1234567891011121314151617181920212223242526272829303132333435363738394041
pkgname: fuse
pkgver: '3.18.2'
pkgrel: '1'
pkgdesc: Library that makes it possible to implement a filesystem in a userspace program.
url: 'https://fuse.sourceforge.net/'
arch: x86_64
depends: []
makedepends:
- python
- meson
- ninja
- doxygen
source:
- 'https://github.com/libfuse/libfuse/releases/download/fuse-${pkgver}/fuse-${pkgver}.tar.gz'
sha256sums:
- f01de85717e20adf5f98aff324acd85dd73d61a5ca3834d573dcf0bd6e54a298
build: |
sed -i '/^udev/,$ s/^/#/' ${pkgname}-${pkgver}/util/meson.build
meson setup --prefix /usr --buildtype plain --libexecdir lib --sbindir bin -D b_pie=true fuse-3.18.2 builddir --sbindir=/usr/bin --localstatedir=/var --libdir=/usr/lib
meson compile -C builddir
DESTDIR=${PKGDIR} meson install -C builddir
package: |
rm -rf ${PKGDIR}/tmp
chmod u+s ${PKGDIR}/usr/bin/fusermount3
mkdir -pv ${PKGDIR}/etc
cat > ${PKGDIR}/etc/fuse.conf << "EOF"
# Set the maximum number of FUSE mounts allowed to non-root users.
# The default is 1000.
#
#mount_max = 1000
# Allow non-root users to specify the 'allow_other' or 'allow_root'
# mount options.
#
#user_allow_other
EOF
install -v -m755 -d ${PKGDIR}/usr/share/doc/${pkgname}
install -v -m644 ${pkgname}-${pkgver}/doc/{README.NFS,kernel.txt} \
${PKGDIR}/usr/share/doc/${pkgname}
cp -Rv ${pkgname}-${pkgver}/doc/html ${PKGDIR}/usr/share/doc/${pkgname}