void-packages/srcpkgs/quazip-qt5/template
Johannes Brechtmann 58fc05e8fe quazip-qt5: update to 0.7.4.
project switched to github: http://quazip.sourceforge.net/

Closes #13636.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
2018-04-20 17:34:54 +02:00

30 lines
860 B
Bash

# Template file for 'quazip-qt5'
pkgname=quazip-qt5
version=0.7.4
revision=1
build_style=cmake
wrksrc="${pkgname%-*}-${version}"
build_wrksrc="quazip"
configure_args="-DCMAKE_CXX_FLAGS=-fPIC"
makedepends="qt5-devel zlib-devel"
short_desc="Qt5/C++ wrapper for the Gilles Vollant's ZIP/UNZIP C package"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="LGPL-2.1-only"
homepage="https://github.com/stachenov/quazip"
distfiles="https://github.com/stachenov/quazip/archive/${version}.tar.gz"
checksum=93c2f58db6c6e812aa11e6a79db009e050da69a25ec4cf2787d2e845d4dbe0fa
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-devel"
fi
quazip-qt5-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/share
vmove usr/lib/*.a
vmove usr/lib/*.so
}
}