# Contributor: V.Krishn # Maintainer: Natanael Copa pkgname=avfs pkgver=1.0.3 pkgrel=0 pkgdesc="A Virtual File System for looking into archives" url="http://avf.sourceforge.net/" arch="all" license="GPL2+" depends="bash" depends_dev="" makedepends="zlib-dev bzip2-dev fuse-dev" install="" subpackages="$pkgname-dev" source="http://space.dl.sourceforge.net/project/avf/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2" source="http://downloads.sourceforge.net/project/avf/avfs/$pkgver/avfs-$pkgver.tar.bz2" _builddir="$srcdir"/$pkgname-$pkgver prepare() { cd "$_builddir" } build() { cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --enable-fuse \ --enable-library \ --prefix=/usr \ || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 rm "$pkgdir"/usr/lib/*.la rm "$pkgdir"/usr/lib/*.a } md5sums="25f0bfe76640917239563e11e3c0a9ac avfs-1.0.3.tar.bz2" sha256sums="c6dee77b2b71567528f897727e51695587189765fc35f694e4734db0a7d4fec8 avfs-1.0.3.tar.bz2" sha512sums="b20a8bcba0d1d0181a14d5f1204f0532817037e3b5d32931f00f988793cb6cdabec82298686d82aa34885209d22841754e990c9c35b6384e0b441f99fd3d1efd avfs-1.0.3.tar.bz2"