# Maintainer:
# Contributor: Alexander F Rødseth <xyproto@archlinux.org>
# Contributor: Kevin Piche <kevin@archlinux.org>
# Contributor: K. Piche <kpiche@rogers.com>

pkgname=avfs
pkgver=1.1.1
pkgrel=1
pkgdesc='Virtual filesystem that allows browsing compressed files'
arch=('x86_64')
license=('GPL' 'LGPL')
url='https://avf.sourceforge.net/'
depends=('fuse2' 'perl' 'xz' 'zstd')
options=('!emptydirs')
source=("https://downloads.sourceforge.net/sourceforge/avf/$pkgname-$pkgver.tar.bz2")
sha512sums=('0707f8e746d8d3633755b1a1efb944a400c095b517a7befd75de4d25e2fad1a1b5132b9cf94285b05ad1344bfc138ec75e9cb5f8a5d7775a69595b9b35266f92')

build() {
  cd "$pkgname-$pkgver"

  ./configure --prefix=/usr --enable-library --enable-fuse --disable-static
  make
}

package() {
  make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
}

# vim:set ts=2 sw=2 et:
