2016-12-13 01:32:03 +00:00
|
|
|
# Maintainer: Ronald van Haren <ronald.archlinux.org>
|
|
|
|
# Contributor: Tom Gundersen <teg@jklm.no>
|
|
|
|
# Contributor: Mark Rosenstand <mark@archlinux.org>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - upstream patch for AArch64
|
|
|
|
|
|
|
|
pkgname=fuse2
|
2019-01-08 00:40:16 +00:00
|
|
|
pkgver=2.9.9
|
2020-05-19 01:49:40 +00:00
|
|
|
pkgrel=4
|
2016-12-13 01:32:03 +00:00
|
|
|
pkgdesc="A library that makes it possible to implement a filesystem in a userspace program."
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
url='https://github.com/libfuse/libfuse'
|
|
|
|
license=('GPL2')
|
2016-12-13 06:13:34 +00:00
|
|
|
provides=(fuse=$pkgver) # TODO: remove it once all packages start to use 'fuse2' name
|
2016-12-13 01:32:03 +00:00
|
|
|
replaces=('fuse')
|
|
|
|
conflicts=('fuse')
|
|
|
|
depends=('glibc' 'fuse-common')
|
|
|
|
makedepends=('pkg-config')
|
|
|
|
options=(!emptydirs)
|
|
|
|
source=(https://github.com/libfuse/libfuse/releases/download/fuse-$pkgver/fuse-$pkgver.tar.gz{,.asc}
|
|
|
|
https://github.com/libfuse/libfuse/commit/914871b20a901e3e1e981c92bc42b1c93b7ab81b.patch)
|
2019-01-08 00:40:16 +00:00
|
|
|
sha1sums=('943ba651b14bc4a3c6fd959ed4b8c04f4a59032d'
|
2016-12-13 01:32:03 +00:00
|
|
|
'SKIP'
|
2019-01-08 00:40:16 +00:00
|
|
|
'dd0c03bb92ec0dd105557e6c1649a5a71cc69a94')
|
2016-12-13 01:32:03 +00:00
|
|
|
validpgpkeys=(ED31791B2C5C1613AF388B8AD113FCAC3C4E599F) # Nikolaus Rath <Nikolaus@rath.org>
|
|
|
|
|
|
|
|
prepare() {
|
|
|
|
cd fuse-$pkgver
|
|
|
|
|
|
|
|
patch -p1 -i ../914871b20a901e3e1e981c92bc42b1c93b7ab81b.patch
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd fuse-$pkgver
|
|
|
|
|
2019-09-19 04:35:18 +00:00
|
|
|
UDEV_RULES_PATH=/usr/lib/udev/rules.d MOUNT_FUSE_PATH=/usr/bin ./configure --prefix=/usr --libdir=/usr/lib --enable-lib --enable-util --disable-example
|
2016-12-13 01:32:03 +00:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd fuse-$pkgver
|
|
|
|
|
|
|
|
make DESTDIR=${pkgdir} install
|
|
|
|
|
|
|
|
# Remove init script in wrong path
|
|
|
|
# Don't add our own for now, as fusectl fs oopses on 2.6.18
|
|
|
|
rm -r ${pkgdir}/etc/init.d
|
|
|
|
|
|
|
|
# static device nodes are handled by udev
|
|
|
|
rm -r ${pkgdir}/dev
|
|
|
|
}
|