# Contributor: Mika Havela # Maintainer: Mika Havela pkgname=zziplib pkgver=0.13.69 pkgrel=1 pkgdesc="Lightweight library to easily extract data from zip files" url="https://github.com/gdraheim/zziplib" arch="all" license="LGPL-2.0-or-later MPL-1.1" makedepends="zlib-dev python2" checkdepends="zip" subpackages="$pkgname-dev $pkgname-doc $pkgname-utils" source="$pkgname-$pkgver.tar.gz::https://github.com/gdraheim/$pkgname/archive/v$pkgver.tar.gz" builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" ./configure \ --prefix=/usr \ --disable-static make } check() { cd "$builddir" make check } 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="ade026289737f43ca92a8746818d87dd7618d473dbce159546ce9071c9e4cbe164a6b1c9efff16efb7aa0327b2ec6b34f3256c6bda19cd6e325703fffc810ef0 zziplib-0.13.69.tar.gz"