1 # Contributor: Ronald van Haren <ronald.archlinux.org>
2 # Contributor: Tom Gundersen <teg@jklm.no>
3 # Contributor: Mark Rosenstand <mark@archlinux.org>
6 pkgname=(fuse-common fuse3)
9 pkgdesc='Interface for userspace programs to export a filesystem to the Linux kernel'
10 url='https://github.com/libfuse/libfuse'
13 makedepends=('pkg-config' 'meson' 'udev')
14 options=('!emptydirs')
15 source=(https://github.com/libfuse/libfuse/releases/download/fuse-$pkgver/fuse-$pkgver.tar.xz{,.asc})
16 sha256sums=('126919d72b46b3e0eb58a9c6933a2a50c36f2ea69f61fe9e78bdba9f463ffa20'
18 validpgpkeys=(ED31791B2C5C1613AF388B8AD113FCAC3C4E599F) # Nikolaus Rath <Nikolaus@rath.org>
24 meson --prefix=/usr --sbindir=bin -D examples=false . build
29 package_fuse-common() {
30 pkgdesc="Common files for fuse2/3 packages"
31 backup=(etc/fuse.conf)
33 install -Dm644 fuse-${pkgver}/util/fuse.conf "${pkgdir}"/etc/fuse.conf
37 depends=('fuse-common' 'glibc')
41 DESTDIR="${pkgdir}" ninja install
43 rm -r "${pkgdir}"/etc/init.d
44 rm -r "${pkgdir}"/etc/fuse.conf
46 # static device nodes are handled by udev