64 lines
2.0 KiB
Bash
64 lines
2.0 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 |---------------------------------------
|
|
|
|
pkgbase=fuse3
|
|
pkgname=(fuse-common fuse3)
|
|
pkgver=3.16.1
|
|
pkgrel=02 ## rebuild on new eudev
|
|
pkgdesc='Interface for userspace programs to export a filesystem to the Linux kernel'
|
|
url='https://github.com/libfuse/libfuse'
|
|
makedepends=('pkg-config' 'meson' 'eudev')
|
|
## options=('!emptydirs' 'debug') ## uncomment this to produce the debug pkg
|
|
options=(!emptydirs)
|
|
source=(https://github.com/libfuse/libfuse/releases/download/fuse-$pkgver/fuse-$pkgver.tar.gz) ## {,.asc})
|
|
|
|
build() {
|
|
cd fuse-$pkgver
|
|
|
|
rm -rf build
|
|
meson --prefix=/usr --sbindir=bin -D examples=false . build
|
|
cd build
|
|
ninja
|
|
}
|
|
|
|
package_fuse-common() {
|
|
pkgdesc="Common files for fuse2/3 packages"
|
|
backup=(etc/fuse.conf)
|
|
|
|
install -Dm644 fuse-${pkgver}/util/fuse.conf "${pkgdir}"/etc/fuse.conf
|
|
}
|
|
|
|
package_fuse3() {
|
|
# pkgdesc="A library that makes it possible to implement a filesystem in a userspace program."
|
|
depends=('fuse-common' 'glibc')
|
|
|
|
cd fuse-$pkgver/build
|
|
|
|
DESTDIR="${pkgdir}" ninja install
|
|
|
|
rm -r "${pkgdir}"/etc/init.d
|
|
rm -r "${pkgdir}"/etc/fuse.conf
|
|
|
|
# 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=(75a7140ce2d4589eda2784d2279be9d2b273a9b6b0f79ecb871dc4dded046fb5) # fuse-3.16.1.tar.gz
|
|
## not available for 3.16 7910fb48da1ee7aabde1e49b2d97e042c03d4521ddf7c9a80c5cb57153d99da7) # fuse-3.15.1.tar.gz.asc
|
|
|
|
## ef7bb42fafc595e4cb329b856dd8533267b6a6b0e87acea1c2737227bcf2607e fuse3-3.16.1-02-x86_64.pkg.tar.lz
|
|
## c13f6d0aa80e1b5c3c6c177b84448a8e3f10379a6b6d10ed3b69af07fab2c9fd fuse-common-3.16.1-02-x86_64.pkg.tar.lz
|
|
|