void-packages/srcpkgs/quazip/template
travankor 20ba4d28d8 quazip: update to 0.7.6. (#1200)
* quazip: update to 0.7.6.

* quazip-qt5: update to 0.7.6.
2018-08-01 19:31:34 +02:00

27 lines
750 B
Bash

# Template file for 'quazip'
pkgname=quazip
version=0.7.6
revision=1
build_style=qmake
build_wrksrc="quazip"
hostmakedepends="qt-qmake pkg-config"
makedepends="qt-devel zlib-devel"
short_desc="C++ wrapper for the Gilles Vollant's ZIP/UNZIP C package"
maintainer="Duncan Overbruck <mail@duncano.de>"
license="LGPL-2.1-only"
homepage="https://github.com/stachenov/quazip"
distfiles="https://github.com/stachenov/quazip/archive/${version}.tar.gz"
checksum=4118a830a375a81211956611cc34b1b5b4ddc108c126287b91b40c2493046b70
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt-devel"
fi
quazip-devel_package() {
depends="quazip>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
}
}