void-packages/srcpkgs/quazip/template
Johannes Brechtmann e2a2064d66 quazip: update to 0.7.4.
Closes #13635.

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

27 lines
739 B
Bash

# Template file for 'quazip'
pkgname=quazip
version=0.7.4
revision=1
build_style=qmake
build_wrksrc="quazip"
hostmakedepends="qt-qmake"
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=93c2f58db6c6e812aa11e6a79db009e050da69a25ec4cf2787d2e845d4dbe0fa
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
}
}