From 8250b4633de8ecc22af91c24c7b2e15ce9527e09 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Mon, 3 Oct 2022 00:01:21 +0000 Subject: [PATCH] added community/unionfs-fuse --- community/unionfs-fuse/PKGBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 community/unionfs-fuse/PKGBUILD diff --git a/community/unionfs-fuse/PKGBUILD b/community/unionfs-fuse/PKGBUILD new file mode 100644 index 000000000..0f7d24211 --- /dev/null +++ b/community/unionfs-fuse/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Andrzej Giniewicz +# Contributor: Smith Dhumbumroong + +# ALARM: Kevin Mihelich +# - add -D_FILE_OFFSET_BITS=64 to CPPFLAGS + +pkgname=unionfs-fuse +pkgver=3.2 +pkgrel=1 +pkgdesc="A user space unionfs implementation" +arch=('x86_64') +url="https://github.com/rpodgorny/unionfs-fuse" +license=('BSD') +depends=('fuse3') +source=("$pkgname-$pkgver.tar.gz::https://github.com/rpodgorny/unionfs-fuse/archive/v${pkgver}.tar.gz") +sha256sums=('16a4de448dd696443dd508c4217c2bf13a829f3497e1a0e9fa6f09487ac466c1') + +build() { + cd $pkgname-$pkgver + CPPFLAGS+=" -D_FILE_OFFSET_BITS=64" + make +} + +package() { + cd $pkgname-$pkgver + make SBINDIR="/bin" DESTDIR="$pkgdir" PREFIX=/usr install + install -Dm644 "$srcdir"/$pkgname-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} +