Date: Thursday, December 15, 2022 @ 22:24:34
  Author: dvzrv
Revision: 464458

upgpkg: erofs-utils 1.5-3: Rebuild for lzma support.

Add xz to depends for lzma support: https://bugs.archlinux.org/task/73331

Modified:
  erofs-utils/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-12-15 19:58:44 UTC (rev 464457)
+++ PKGBUILD    2022-12-15 22:24:34 UTC (rev 464458)
@@ -2,15 +2,13 @@
 
 pkgname=erofs-utils
 pkgver=1.5
-pkgrel=2
+pkgrel=3
 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
-# https://bugs.archlinux.org/task/73331
 depends=(glibc lz4)
-makedepends=(fuse2 util-linux)
+makedepends=(fuse2 util-linux xz)
 optdepends=(
   'fuse2: for erofsfuse'
 )
@@ -26,7 +24,7 @@
 
 build() {
   cd $pkgname-$pkgver
-  ./configure --prefix=/usr --enable-fuse
+  ./configure --prefix=/usr --enable-fuse --enable-lzma
   make
 }
 
@@ -35,7 +33,10 @@
 }
 
 package() {
-  depends+=(libuuid.so)
+  depends+=(
+    util-linux libuuid.so
+    xz liblzma.so
+  )
 
   make DESTDIR="$pkgdir/" install -C $pkgname-$pkgver
   install -vDm 644 $pkgname-$pkgver/{AUTHORS,ChangeLog,README} -t 
"$pkgdir/usr/share/doc/$pkgname/"

Reply via email to