jobextra/fuse3/PKGBUILD

64 lines
1.9 KiB
Bash
Raw Normal View History

2022-03-20 13:34:07 +01:00
#!/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)
2023-02-18 20:17:04 +01:00
pkgver=3.14.0
2022-03-20 13:34:07 +01:00
pkgrel=01
2023-01-13 23:03:48 +01:00
pkgdesc='Interface for userspace programs to export a filesystem to the Linux kernel'
2022-03-20 13:34:07 +01:00
arch=('x86_64')
url='https://github.com/libfuse/libfuse'
makedepends=('pkg-config' 'meson' 'eudev')
2023-01-13 23:03:48 +01:00
## options=('!emptydirs' 'debug') ## uncomment this to produce the debug pkg
2022-03-20 13:34:07 +01:00
options=(!emptydirs)
source=(https://github.com/libfuse/libfuse/releases/download/fuse-$pkgver/fuse-$pkgver.tar.xz{,.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() {
2023-01-13 23:03:48 +01:00
# pkgdesc="A library that makes it possible to implement a filesystem in a userspace program."
2022-03-20 13:34:07 +01:00
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
}
#---- license gpg-key sha256sums ----
license=('GPL2')
validpgpkeys=(ED31791B2C5C1613AF388B8AD113FCAC3C4E599F) # Nikolaus Rath <Nikolaus@rath.org>
2023-02-18 20:17:04 +01:00
sha256sums=(96115b2a8ff34bd1e0c7b00c5dfd8297571d7e165042b94498c9a26356a9a70a # fuse-3.14.0.tar.xz
246ae20731da98c5f5a5cf6cdf8d10aa54ea986b4e71fe24805154b186ad30d0) # fuse-3.14.0.tar.xz.asc
## a5da714695de341e86471f9a58ac94aaae6ecf6dce8152347e35eb7f898224cf fuse3-3.14.0-01-x86_64.pkg.tar.lz
## fec698a64f1cede0946154b4e7bcafea9fadef3e9aa6ef993e9c93d4ab1553a6 fuse-common-3.14.0-01-x86_64.pkg.tar.lz
2023-01-13 23:03:48 +01:00