22 lines
681 B
Plaintext
22 lines
681 B
Plaintext
|
# 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
|
||
|
version=0.9
|
||
|
release=1
|
||
|
source=(https://github.com/stachenov/quazip/archive/v$version/$name-$version.tar.gz)
|
||
|
|
||
|
build() {
|
||
|
cmake -Hquazip-$version -Bbuild \
|
||
|
-DCMAKE_INSTALL_PREFIX=/usr
|
||
|
cmake --build build
|
||
|
DESTDIR=$PKG cmake --build build --target install
|
||
|
cd $SRC/quazip-$version/quazip
|
||
|
qmake quazip.pro
|
||
|
make pkgconfig/quazip.pc
|
||
|
install -Dm644 pkgconfig/quazip.pc $PKG/usr/lib/pkgconfig/quazip5.pc
|
||
|
sed -e 's!-lquazip!-lquazip5!' -i $PKG/usr/lib/pkgconfig/quazip5.pc
|
||
|
}
|