# $Id$ # Maintainer: Rémy Oudompheng # Contributor: Daniel J Griffiths # Contributor: Roman Kyrylych pkgname=zziplib pkgver=0.13.68 pkgrel=1 pkgdesc="A lightweight library that offers the ability to easily extract data from files archived in a single zip file" arch=('x86_64') url="http://zziplib.sourceforge.net" license=('LGPL' 'MPL') depends=('zlib') makedepends=('python2' 'xmlto' 'zip') source=($pkgname-$pkgver.tar.gz::"https://github.com/gdraheim/zziplib/archive/v$pkgver.tar.gz") sha256sums=('9460919b46592a225217cff067b1c0eb86002b32c54b4898f9c21401aaa11032') sha512sums=('e8a9976242acc04064ec239b9b929228370a946e5bd37092adcc1bda14605710a3850d39795d1937b609d1ab9a9a1998152f8c88b2dccc387ac6ec774d9cfce9') build() { cd ${pkgname}-${pkgver} export PYTHON=/usr/bin/python2 ./configure --prefix=/usr make } package() { cd ${pkgname}-${pkgver} make DESTDIR="${pkgdir}" install # fix permissions chmod -s "${pkgdir}/usr/share/man/man3" # chmod 644 "${pkgdir}"/usr/share/man/man3/* chown -R root:root "${pkgdir}/usr/share/man/man3" } # vim: set ts=2 sw=2 et: