void-packages/srcpkgs/quazip-qt5/template

34 lines
837 B
Bash
Raw Normal View History

2015-05-03 17:02:05 +00:00
# Template file for 'quazip'
pkgname=quazip-qt5
version=0.7.1
revision=1
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=78c984103555c51e6f7ef52e3a2128e2beb9896871b2cc4d4dbd4d64bff132de
provides="quazip-${version}_${revision}"
replaces="quazip>=0"
do_configure() {
qmake PREFIX=/usr
}
do_install() {
make INSTALL_ROOT=${DESTDIR} install
}
quazip-qt5-devel_package() {
depends="quazip-qt5>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
}
}