31 lines
841 B
Bash
31 lines
841 B
Bash
# Template file for 'quazip'
|
|
pkgname=quazip-qt5
|
|
version=0.7.3
|
|
revision=1
|
|
build_style=qmake
|
|
wrksrc=${pkgname%-*}-${version}
|
|
hostmakedepends="qt5-qmake"
|
|
makedepends="qt5-devel zlib-devel"
|
|
short_desc="C++ wrapper for the Gilles Vollant's ZIP/UNZIP C package"
|
|
maintainer="Duncaen <duncaen@voidlinux.eu>"
|
|
license="LGPL-2.0"
|
|
homepage="http://sourceforge.net/projects/quazip/"
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname%-*}/${pkgname%-*}-${version}.tar.gz"
|
|
checksum=2ad4f354746e8260d46036cde1496c223ec79765041ea28eb920ced015e269b5
|
|
|
|
provides="quazip-${version}_${revision}"
|
|
replaces="quazip>=0"
|
|
|
|
if [ -n "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" qt5-host-tools qt5-devel"
|
|
fi
|
|
|
|
quazip-qt5-devel_package() {
|
|
depends="quazip-qt5>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/*.so
|
|
}
|
|
}
|