pkgname=erofs-utils pkgver=1.8.4 pkgrel=1 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=('Apache-2.0' 'GPL-2.0-or-later') depends=('glibc' 'libdeflate' 'lz4' 'zlib' 'util-linux' 'xxhash' 'xz' 'zstd') makedepends=('fuse') source=(https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/snapshot/${pkgname}-${pkgver}.tar.gz) sha256sums=(791587aa074bb9f9fa218c762cc1f60b015e2f51bcb2ce91f682f043856ab494) prepare() { cd ${pkgname}-${pkgver} autoreconf -fiv } build() { cd ${pkgname}-${pkgver} local configure_args=( --enable-fuse --enable-lzma --with-libdeflate --enable-multithreading ${configure_options} ) ./configure ${configure_args[@]} make } package() { cd ${pkgname}-${pkgver} make DESTDIR=${pkgdir} install }