summaryrefslogtreecommitdiff
path: root/quazip6/Pkgfile
diff options
context:
space:
mode:
authorTim Biermann <tbier@posteo.de>2021-11-07 13:30:31 +0100
committerTim Biermann <tbier@posteo.de>2021-11-07 13:30:31 +0100
commit9948b9d2c8b9cd37b52b4bbe4fae47e36c9d7461 (patch)
treeba6a23a595bb64f088377db0c950174e6a170e3a /quazip6/Pkgfile
parentb09647cf9125147f320f52ee8242591368bb4157 (diff)
downloadcontrib-9948b9d2c8b9cd37b52b4bbe4fae47e36c9d7461.tar.gz
contrib-9948b9d2c8b9cd37b52b4bbe4fae47e36c9d7461.tar.xz
quazip6: initial commit, version 1.1
Diffstat (limited to 'quazip6/Pkgfile')
-rw-r--r--quazip6/Pkgfile22
1 files changed, 22 insertions, 0 deletions
diff --git a/quazip6/Pkgfile b/quazip6/Pkgfile
new file mode 100644
index 000000000..172484ad6
--- /dev/null
+++ b/quazip6/Pkgfile
@@ -0,0 +1,22 @@
+# Description: C++ wrapper for the Gilles Vollant's ZIP/UNZIP C package
+# URL: https://stachenov.github.io/quazip/
+# Maintainer: Tim Biermann, tbier at posteo dot de
+# Depends on: qt6-5compat
+
+name=quazip6
+version=1.1
+release=1
+source=(https://github.com/stachenov/quazip/archive/v$version/quazip-$version.tar.gz)
+
+build() {
+ cmake -S quazip-$version -B build -G Ninja \
+ -D CMAKE_INSTALL_PREFIX=/usr \
+ -D CMAKE_INSTALL_LIBDIR=lib \
+ -D CMAKE_BUILD_TYPE=Release \
+ -D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
+ -D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
+ -D QUAZIP_QT_MAJOR_VERSION=6 \
+ -Wno-dev
+ cmake --build build
+ DESTDIR=$PKG cmake --install build
+}

Generated by cgit