[arch-commits] Commit in fuse3/trunk (PKGBUILD)

Anatol Pomozov anatolik at archlinux.org
Thu Sep 14 17:21:01 UTC 2017


    Date: Thursday, September 14, 2017 @ 17:21:00
  Author: anatolik
Revision: 305558

upgpkg: fuse3 3.1.1-2

FS#55564 move mount.fuse to fuse-common and use both for fuse2 and fuse3 filesystems

Modified:
  fuse3/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-14 15:34:53 UTC (rev 305557)
+++ PKGBUILD	2017-09-14 17:21:00 UTC (rev 305558)
@@ -6,7 +6,7 @@
 pkgbase=fuse3
 pkgname=(fuse-common fuse3)
 pkgver=3.1.1
-pkgrel=1
+pkgrel=2
 arch=('i686' 'x86_64')
 url='https://github.com/libfuse/libfuse'
 license=('GPL2')
@@ -31,6 +31,7 @@
 package_fuse-common() {
   pkgdesc="Common files for fuse2/3 packages"
   backup=(etc/fuse.conf)
+  depends=(glibc)
 
   cd fuse-$pkgver/build
   DESTDIR=${pkgdir} ninja install
@@ -45,8 +46,10 @@
   rm -r ${pkgdir}/etc/init.d
 
   # part of fuse3 package
-  rm -r ${pkgdir}/usr/{bin,include,lib/{pkgconfig,libfuse3.so*},share/man/man1/fusermount3.1.gz}
+  rm -r ${pkgdir}/usr/{bin/fusermount3,include,lib/{pkgconfig,libfuse3.so*},share/man/man1/fusermount3.1.gz}
 
+  mv ${pkgdir}/usr/bin/mount.fuse3 ${pkgdir}/usr/bin/mount.fuse
+
   # workaround bug in fuse meson script
   mv ${pkgdir}/usr/lib/udev/rules.d/udev/rules.d/99-fuse3.rules ${pkgdir}/usr/lib/udev/rules.d/99-fuse3.rules
 }
@@ -53,7 +56,7 @@
 
 package_fuse3() {
   pkgdesc="A library that makes it possible to implement a filesystem in a userspace program."
-  depends=('glibc' 'fuse-common')
+  depends=('fuse-common')
 
   cd fuse-$pkgver/build
 
@@ -68,5 +71,5 @@
 
   # part of fuse-common package
   rm -r ${pkgdir}/usr/lib/udev/rules.d
-  rm ${pkgdir}/usr/share/man/man8/mount.fuse.8.gz
+  rm ${pkgdir}/usr/share/man/man8/mount.fuse.8.gz ${pkgdir}/usr/bin/mount.fuse3
 }



More information about the arch-commits mailing list