blob: b3288e4b8e109aec74ab3ef0cf5dbf03df6798ba (
plain)
1 # Description: C++ wrapper for the Gilles Vollant's ZIP/UNZIP C package
2 # URL: https://stachenov.github.io/quazip/
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: qt6-5compat
5
6 name=quazip6
7 version=1.3
8 release=1
9 source=(https://github.com/stachenov/quazip/archive/v$version/quazip-$version.tar.gz)
10
11 build() {
12 cmake -S quazip-$version -B build -G Ninja \
13 -D CMAKE_INSTALL_PREFIX=/usr \
14 -D CMAKE_INSTALL_LIBDIR=lib \
15 -D CMAKE_BUILD_TYPE=Release \
16 -D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
17 -D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
18 -D QUAZIP_QT_MAJOR_VERSION=6 \
19 -Wno-dev
20 cmake --build build
21 DESTDIR=$PKG cmake --install build
22 }
|