# $Id: PKGBUILD 197447 2013-10-26 06:24:44Z eric $ # Maintainer: Rémy Oudompheng # Contributor: Daniel J Griffiths # Contributor: Roman Kyrylych pkgname=zziplib pkgver=0.13.62 pkgrel=2 pkgdesc="A lightweight library that offers the ability to easily extract data from files archived in a single zip file" arch=('i686' 'x86_64') url="http://zziplib.sourceforge.net" license=('LGPL' 'MPL') depends=('zlib') makedepends=('python2') source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2) md5sums=('5fe874946390f939ee8f4abe9624b96c') build() { cd ${pkgname}-${pkgver} export PYTHON=/usr/bin/python2 ./configure --prefix=/usr make } package() { cd ${pkgname}-${pkgver} make DESTDIR="${pkgdir}" install #fix permission chmod -s "${pkgdir}/usr/share/man/man3" chmod 644 "${pkgdir}"/usr/share/man/man3/* chown -R root:root "${pkgdir}/usr/share/man/man3" }