# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=quazip
pkgver=0.7.3
pkgrel=0
pkgdesc="C++ wrapper for the Gilles Vollant's ZIP/UNZIP C package"
url="https://sourceforge.net/projects/quazip/"
arch="all"
license="LGPL"
makedepends="qt-dev cmake"
subpackages="$pkgname-dev"
source="http://downloads.sourceforge.net/quazip/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	qmake PREFIX=/usr
}

package() {
	cd "$builddir"
	make INSTALL_ROOT="$pkgdir" install
}

sha512sums="d4b55bd040e47e97e7bd5d080399ae4aa5fbc4985d6ab5979b468abc852c91b2e3e5d35af90d4b4de3bb01ea9135d0247473d6eab0413392b1c8567dc799a9fe  quazip-0.7.3.tar.gz"
