# Maintainer: PktSurf app=libarchive version=3.7.6 build=1sml homepage="http://libarchive.org" download="https://www.libarchive.org/downloads/libarchive-$version.tar.gz" desc="archive reading library" requires="bzip2 expat zlib xz" prepbuilddir() { mkandenterbuilddir rm -rf $app-$version tar xf $srcdir/$app-$version.tar.?z* cd $app-$version fixbuilddirpermissions } build() { ./configure \ --prefix=/usr \ --with-pic \ --without-openssl \ --without-xml2 \ --disable-acl \ --enable-shared \ --disable-static make make install DESTDIR=$pkg cp COPYING $pkgdocs/ mkfinalpkg } sha512sums=" 71a69f6ef8049167e3901b0fea2dc872888d9a9373e77921a5b3831ea20a9a63506e8e28e75d617d0e91740d324ef13d6beedf0a92fca1d49a86cd9a833defe4 libarchive-3.7.6.tar.lz "