blob: fd2087782e411834a1535eee0e5bd542b1c53b6e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
#!/bin/mkpkg
# description: Filesystem in Userspace (FUSE3) library
# url: https://github.com/libfuse/libfuse
name=libfuse
version=3.18.3
release=1
depends=(udevd)
source=(https://github.com/libfuse/libfuse/releases/download/fuse-$version/fuse-$version.tar.gz)
sha256sums=(
"bcd19582c5e30f7fe45dd86a5540e998590aa01903afc7ebcbeea6c8ac5421ee"
)
build() {
cd fuse-$version
mkdir build && cd build
meson setup .. \
--prefix=/usr \
--sbindir=/usr/bin \
--buildtype=release \
-D examples=false \
-D tests=false \
-D useroot=false
ninja
DESTDIR=$PKG ninja install
# fusermount3 needs suid
chmod u+s $PKG/usr/bin/fusermount3
# Remove init script and udev rules (handled by system)
rm -rf $PKG/etc/init.d
rm -rf $PKG/usr/lib/udev
# Default config
install -dm755 $PKG/etc
printf '%s\n' \
'# Allow non-root users to specify the allow_other mount option' \
'#user_allow_other' \
> $PKG/etc/fuse.conf
}
signify() {
untrusted comment: public key
RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
}
# vim: filetype=sh
|