contrib/quazip5/Pkgfile

18 lines
486 B
Plaintext
Raw Normal View History

2020-04-29 18:20:38 +02: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 10:30:23 +02:00
version=1.1
2020-04-29 18:20:38 +02:00
release=1
source=(https://github.com/stachenov/quazip/archive/v$version/$name-$version.tar.gz)
build() {
2020-06-01 17:56:43 +02:00
cmake -Squazip-$version -Bbuild -GNinja \
2020-10-06 11:10:52 +02:00
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
2020-04-29 18:20:38 +02:00
cmake --build build
2020-07-08 15:01:36 +02:00
DESTDIR=$PKG cmake --install build
2020-04-29 18:20:38 +02:00
}