void-packages/srcpkgs/jreen-qt5/template
2017-04-02 19:31:52 +02:00

28 lines
776 B
Bash

# Template file for 'jreen'
pkgname=jreen-qt5
version=1.3.0
revision=1
wrksrc="${pkgname%-*}-${version}"
build_style=cmake
hostmakedepends="pkg-config"
makedepends="gsasl-devel speex-devel qt5-devel zlib-devel"
short_desc="Qt5 Jabber/XMPP extensible library"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="LGPL-3"
homepage="https://github.com/euroelessar/jreen"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=f93c3d338c011c0945dacb14eb9da3be9541028c9eaa6f2024e688eb8a49b07e
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-devel"
fi
jreen-qt5-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}