# Contributor: Carlo Landmeter # Maintainer: pkgname=quazip pkgver=0.7.2 pkgrel=0 pkgdesc="C++ wrapper for the Gilles Vollant's ZIP/UNZIP C package" url="http://sourceforge.net/projects/quazip/" arch="all" license="LGPL" depends="" depends_dev="qt-dev" makedepends="$depends_dev cmake" install="" subpackages="$pkgname-dev" source="http://downloads.sourceforge.net/quazip/quazip-$pkgver.tar.gz" _builddir="$srcdir"/quazip-$pkgver prepare() { local i cd "$_builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done } build() { cd "$_builddir" qmake PREFIX=/usr } package() { cd "$_builddir" make INSTALL_ROOT="${pkgdir}" install } md5sums="84163487a4c3470781c93e5f56c4ca43 quazip-0.7.2.tar.gz" sha256sums="91d827fbcafd099ae814cc18a8dd3bb709da6b8a27c918ee1c6c03b3f29440f4 quazip-0.7.2.tar.gz" sha512sums="669efb01edefee084ae755728aa2392bf160331fb13db62b7fac5e91bd45c29bb824a41ec63dd4a74c4a9780848d3308c0dcdb503f907a0fcccfbe969c291dd0 quazip-0.7.2.tar.gz"