#Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/quazip pkgname=quazip pkgver=0.7.2 pkgrel=1 pkgdesc="C++ wrapper for the Gilles Vollant's ZIP/UNZIP C package" url="http://sourceforge.net/projects/quazip/" license=('LGPL') arch=('x86_64') depends=(qt5-base) makedepends=(cmake) replaces=(quazip-qt4) provides=(quazip-qt4) conflicts=(quazip-qt4) source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz") md5sums=('84163487a4c3470781c93e5f56c4ca43') build() { cd $pkgbase-$pkgver cmake -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_WITH_QT4:BOOL=OFF -DCMAKE_CXX_FLAGS="$CFLAGS -fPIC" make } package() { cd $pkgbase-$pkgver make DESTDIR="$pkgdir" install }