pkgname=quazip-qt6 _pkgname=quazip pkgver=1.4 pkgrel=1 pkgdesc="Simple C++ wrapper over Gilles Vollant's ZIP/UNZIP package that can be used to access ZIP archives" url="https://stachenov.github.io/quazip/" license=('LGPL') arch=('x86_64') depends=('qt6-base' 'qt6-5compat') makedepends=('cmake') source=("https://github.com/stachenov/quazip/archive/v${pkgver}.tar.gz") sha256sums=('79633fd3a18e2d11a7d5c40c4c79c1786ba0c74b59ad752e8429746fe1781dd6') build() { cmake -B build -S ${_pkgname}-${pkgver} \ -DCMAKE_INSTALL_PREFIX=/usr \ -DQUAZIP_QT_MAJOR_VERSION=6 cmake --build build } package() { DESTDIR=${pkgdir} cmake --install build }