# Contributor: Mika Havela # Maintainer: Mika Havela pkgname=zziplib pkgver=0.13.66 pkgrel=0 pkgdesc="Lightweight library to easily extract data from zip files" url="http://zziplib.sourceforge.net" arch="all" license="LGPL2+ MPL-1.1" makedepends="zlib-dev python2 xmlto" subpackages="$pkgname-dev $pkgname-doc $pkgname-utils" source="https://sourceforge.net/projects/zziplib/files/zziplib13/$pkgver/$pkgname-$pkgver.tar.gz" builddir="$srcdir/$pkgname-$pkgver" prepare() { default_prepare update_config_guess } build() { cd "$builddir" ./configure \ --prefix=/usr \ --disable-static make } package() { cd "$builddir" make DESTDIR="$pkgdir" install } utils() { pkgdesc="Utilities for the zziplib library" install -d "$subpkgdir"/usr mv "$pkgdir"/usr/bin "$subpkgdir"/usr/ } sha512sums="893885d85293269fd8ff14d61eaae5f7d07689a16dd9c07c1ae8d46ea2b2f94a13d6aab19670efa7716cafe5e9f8efb1cbc1254bd9e860c836faa35736bdbe20 zziplib-0.13.66.tar.gz"