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

David Runge dvzrv at gemini.archlinux.org
Sat Feb 19 13:39:24 UTC 2022


    Date: Saturday, February 19, 2022 @ 13:39:22
  Author: dvzrv
Revision: 437757

upgpkg: erofs-utils 1.4-2: Rebuild to add fuse2 support.

Enable fuse2 support via erofsfuse:
https://bugs.archlinux.org/task/72416
Simplify calls to make and add ticket for microlzma support.

Modified:
  erofs-utils/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-02-19 13:34:08 UTC (rev 437756)
+++ PKGBUILD	2022-02-19 13:39:22 UTC (rev 437757)
@@ -2,13 +2,14 @@
 
 pkgname=erofs-utils
 pkgver=1.4
-pkgrel=1
+pkgrel=2
 pkgdesc="Userspace utilities for linux-erofs file system"
 arch=(x86_64)
 url="https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git"
 license=(GPL2)
 # TODO: add xz once microlzma is included
-depends=(glibc lz4)
+# https://bugs.archlinux.org/task/73331
+depends=(fuse2 glibc lz4)
 makedepends=(util-linux)
 source=("https://git.kernel.org/pub/scm/linux/kernel/git/xiang/${pkgname}.git/snapshot/${pkgname}-${pkgver}.tar.gz")
 sha512sums=('ab95d6a7b2d278ee443d1e378c62354db66ce7ab5ce03b3a8d9004cf498c4e43e3e8ced6524444d2ea4871c4db0195489f033180c8a2082c2cba69c46c09692f')
@@ -21,19 +22,17 @@
 
 build() {
   cd "$pkgname-$pkgver"
-  ./configure --prefix=/usr
+  ./configure --prefix=/usr --enable-fuse
   make
 }
 
 check() {
-  cd "$pkgname-$pkgver"
-  make -k check
+  make -k check -C $pkgname-$pkgver
 }
 
 package() {
   depends+=(libuuid.so)
 
-  cd "$pkgname-$pkgver"
-  make DESTDIR="$pkgdir/" install
-  install -vDm 644 {AUTHORS,ChangeLog,README} -t "${pkgdir}/usr/share/doc/${pkgname}/"
+  make DESTDIR="$pkgdir/" install -C $pkgname-$pkgver
+  install -vDm 644 $pkgname-$pkgver/{AUTHORS,ChangeLog,README} -t "$pkgdir/usr/share/doc/$pkgname/"
 }



More information about the arch-commits mailing list