62 lines
1.9 KiB
Bash
62 lines
1.9 KiB
Bash
|
#!/usr/bin/bash
|
||
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
||
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
||
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
|
||
|
# Website : https://pozol.eu
|
||
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||
|
|
||
|
pkgname=fuse2
|
||
|
pkgver=2.9.9
|
||
|
pkgrel=04
|
||
|
pkgdesc='Interface for userspace programs to export a filesystem to the Linux kernel'
|
||
|
url='https://github.com/libfuse/libfuse'
|
||
|
depends=('glibc' 'fuse-common')
|
||
|
makedepends=('pkg-config')
|
||
|
provides=(fuse=$pkgver) # TODO: remove it once all packages start to use 'fuse2' name
|
||
|
replaces=('fuse')
|
||
|
conflicts=('fuse')
|
||
|
options=('!emptydirs')
|
||
|
source=(https://github.com/libfuse/libfuse/releases/download/fuse-$pkgver/fuse-$pkgver.tar.gz{,.asc}
|
||
|
conditionally-define-closefrom.patch)
|
||
|
|
||
|
prepare() {
|
||
|
cd fuse-$pkgver
|
||
|
patch -Np1 -i ${srcdir}/conditionally-define-closefrom.patch
|
||
|
autoreconf -i
|
||
|
}
|
||
|
|
||
|
build() {
|
||
|
cd fuse-$pkgver
|
||
|
|
||
|
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
|
||
|
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
|
||
|
}
|
||
|
|
||
|
|
||
|
#---- arch license gpg-key & sha256sums ----
|
||
|
|
||
|
arch=(x86_64)
|
||
|
|
||
|
license=('GPL2')
|
||
|
|
||
|
validpgpkeys=(ED31791B2C5C1613AF388B8AD113FCAC3C4E599F) # Nikolaus Rath <Nikolaus@rath.org>
|
||
|
|
||
|
sha256sums=(d0e69d5d608cc22ff4843791ad097f554dd32540ddc9bed7638cc6fea7c1b4b5 # fuse-2.9.9.tar.gz
|
||
|
2306ebb33ecc560701f1b569cff3b1cee3dd1c02b46462a9f2c5ba0e5c263a51 # fuse-2.9.9.tar.gz.asc
|
||
|
1e8b0a1b2bbaa335d92a3c46e31c928dcd53abe011214a0cbbfa7c11a3a68f1a) # conditionally-define-closefrom.patch
|
||
|
|
||
|
## 8ee437fee90369897de8958ddc2e2f69bc5b9298f86122f97bc1c6450d2138bc fuse2-2.9.9-04-x86_64.pkg.tar.lz
|