[arch-commits] Commit in fuse3/repos (testing-x86_64 testing-x86_64/PKGBUILD)

Anatol Pomozov anatolik at archlinux.org
Mon Apr 12 17:28:38 UTC 2021


    Date: Monday, April 12, 2021 @ 17:28:38
  Author: anatolik
Revision: 412371

archrelease: copy trunk to testing-x86_64

Added:
  fuse3/repos/testing-x86_64/
  fuse3/repos/testing-x86_64/PKGBUILD
    (from rev 412370, fuse3/trunk/PKGBUILD)

----------+
 PKGBUILD |   48 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)

Copied: fuse3/repos/testing-x86_64/PKGBUILD (from rev 412370, fuse3/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2021-04-12 17:28:38 UTC (rev 412371)
@@ -0,0 +1,48 @@
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Tom Gundersen <teg at jklm.no>
+# Contributor: Mark Rosenstand <mark at archlinux.org>
+
+pkgbase=fuse3
+pkgname=(fuse-common fuse3)
+pkgver=3.10.3
+pkgrel=1
+arch=('x86_64')
+url='https://github.com/libfuse/libfuse'
+license=('GPL2')
+makedepends=('pkg-config' 'meson' 'udev')
+options=(!emptydirs)
+source=(https://github.com/libfuse/libfuse/releases/download/fuse-$pkgver/fuse-$pkgver.tar.xz{,.asc})
+sha256sums=('eb8373f208b05a39702f9f437f6e49caf4b1ace26a9acb68110b49912078560f'
+            'SKIP')
+validpgpkeys=(ED31791B2C5C1613AF388B8AD113FCAC3C4E599F) # Nikolaus Rath <Nikolaus at rath.org>
+
+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
+}



More information about the arch-commits mailing list