63 lines
1.9 KiB
Bash
63 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 |---------------------------------------
|
|
|
|
pkgbase=fuse3
|
|
pkgname=(fuse-common fuse3)
|
|
pkgver=3.14.1
|
|
pkgrel=01
|
|
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.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() {
|
|
# 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=(126919d72b46b3e0eb58a9c6933a2a50c36f2ea69f61fe9e78bdba9f463ffa20 # fuse-3.14.1.tar.xz
|
|
3de3bae7a3b9c362a80fde3800e1a766006e8d2b7679eff179e33166a5ff405d) # fuse-3.14.1.tar.xz.asc
|
|
|
|
## 50c395466bcefd8870cf88b746b921b533b8639093fc168e8b1659164fe985dc fuse3-3.14.1-01-x86_64.pkg.tar.lz
|
|
## 0ae45b815b31503c34208a4cfe10a3bc9386274456f9724314f8b45bc66dbad0 fuse-common-3.14.1-01-x86_64.pkg.tar.lz
|
|
|