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

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

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:
