1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
2 # Maintainer: Jaroslav Lichtblau <svetlemodry@archlinux.org>
3 # Contributor: Felix Yan <felixonmars@archlinux.org>
4 # Contributor: Andrea Scarpino <andrea@archlinux.org>
5 # Contributor: trya <tryagainprod@gmail.com>
8 pkgname=(quazip-qt5 quazip-qt6)
11 pkgdesc='C++ wrapper for the ZIP/UNZIP C package'
12 url='https://stachenov.github.io/quazip/'
15 makedepends=(cmake qt5-base qt6-5compat)
16 source=(https://github.com/stachenov/$pkgbase/archive/v$pkgver/$pkgbase-$pkgver.tar.gz)
17 sha256sums=('79633fd3a18e2d11a7d5c40c4c79c1786ba0c74b59ad752e8429746fe1781dd6')
20 cmake -B build5 -S $pkgbase-$pkgver \
21 -DCMAKE_INSTALL_PREFIX=/usr
24 cmake -B build6 -S $pkgbase-$pkgver \
25 -DCMAKE_INSTALL_PREFIX=/usr \
26 -DQUAZIP_QT_MAJOR_VERSION=6
30 package_quazip-qt5() {
35 DESTDIR="$pkgdir" cmake --install build5
38 package_quazip-qt6() {
41 DESTDIR="$pkgdir" cmake --install build6