void-packages/srcpkgs/quazip-qt5/template
2018-08-01 22:50:39 -03:00

29 lines
827 B
Bash

# Template file for 'quazip-qt5'
pkgname=quazip-qt5
version=0.7.6
revision=2
build_style=cmake
wrksrc="${pkgname%-*}-${version}"
hostmakedepends="pkg-config"
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=4118a830a375a81211956611cc34b1b5b4ddc108c126287b91b40c2493046b70
if [ "$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"
}
}