# Contributor: V.Krishn # Maintainer: Natanael Copa pkgname=avfs pkgver=1.1.0 pkgrel=0 pkgdesc="A Virtual File System for looking into archives" url="http://avf.sourceforge.net/" arch="all" license="GPL-2.0-or-later" depends="bash" makedepends="zlib-dev bzip2-dev fuse-dev zstd-dev xz-dev" subpackages="$pkgname-dev" source="https://downloads.sourceforge.net/project/avf/avfs/$pkgver/avfs-$pkgver.tar.bz2" build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --enable-fuse \ --enable-library \ --with-system-zlib \ --with-system-bzlib \ --with-xz \ --with-zstd \ --prefix=/usr \ --disable-static make } check() { cd "$builddir" make check } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="415a52bfecb58cc67818a7e247e0cc40892c81431cdf13a607b4a233aa312ac900f1d33c060aa7495df50c3dda553115ab0b159950811318ca6850847ddbd4fa avfs-1.1.0.tar.bz2"