39 lines
1 KiB
Bash
39 lines
1 KiB
Bash
# Template file for 'quazip'
|
|
pkgname=quazip
|
|
version=0.8.1
|
|
revision=1
|
|
build_style=cmake
|
|
makedepends="qt5-devel zlib-devel"
|
|
short_desc="Qt5/C++ wrapper for the Gilles Vollant's ZIP/UNZIP C package"
|
|
maintainer="Duncaen <duncaen@voidlinux.org>"
|
|
license="LGPL-2.1-only"
|
|
homepage="https://github.com/stachenov/quazip"
|
|
distfiles="https://github.com/stachenov/quazip/archive/v${version}.tar.gz"
|
|
checksum=4fda4d4248e08015b5090d0369ef9e68bdc4475aa12494f7c0f6d79e43270d14
|
|
|
|
if [ -n "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" qt5-host-tools qt5-devel"
|
|
fi
|
|
|
|
quazip-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"
|
|
}
|
|
}
|
|
|
|
quazip-qt5_package() {
|
|
build_style=meta
|
|
short_desc+=" (transitional dummy package)"
|
|
depends="quazip>=${version}_${revision}"
|
|
}
|
|
|
|
quazip-qt5-devel_package() {
|
|
build_style=meta
|
|
short_desc+=" (transitional dummy package)"
|
|
depends="quazip-devel>=${version}_${revision}"
|
|
}
|