2020-04-29 16:20:38 +00:00
|
|
|
# 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: qt5
|
|
|
|
|
|
|
|
name=quazip5
|
2020-10-11 08:30:23 +00:00
|
|
|
version=1.1
|
2020-11-05 22:43:00 +00:00
|
|
|
release=2
|
2020-04-29 16:20:38 +00:00
|
|
|
source=(https://github.com/stachenov/quazip/archive/v$version/$name-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
2020-06-01 15:56:43 +00:00
|
|
|
cmake -Squazip-$version -Bbuild -GNinja \
|
2020-10-06 09:10:52 +00:00
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
2020-11-05 22:43:00 +00:00
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS -DNDEBUG" \
|
|
|
|
-DCMAKE_C_FLAGS_RELEASE="$CFLAGS -DNDEBUG"
|
2020-04-29 16:20:38 +00:00
|
|
|
cmake --build build
|
2020-07-08 13:01:36 +00:00
|
|
|
DESTDIR=$PKG cmake --install build
|
2020-04-29 16:20:38 +00:00
|
|
|
}
|