1 # Maintainer: 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)
10 url='https://github.com/libfuse/libfuse'
12 makedepends=('pkg-config' 'meson' 'udev')
14 source=(https://github.com/libfuse/libfuse/releases/download/fuse-$pkgver/fuse-$pkgver.tar.xz{,.asc})
15 sha256sums=('b2e283485d47404ac896dd0bb7f7ba81e1470838e677e45f659804c3a3b69666'
17 validpgpkeys=(ED31791B2C5C1613AF388B8AD113FCAC3C4E599F) # Nikolaus Rath <Nikolaus@rath.org>
23 meson --prefix=/usr --sbindir=bin -D examples=false . build
28 package_fuse-common() {
29 pkgdesc="Common files for fuse2/3 packages"
30 backup=(etc/fuse.conf)
32 install -Dm644 fuse-${pkgver}/util/fuse.conf "${pkgdir}"/etc/fuse.conf
36 pkgdesc="A library that makes it possible to implement a filesystem in a userspace program."
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