void-packages/srcpkgs/libcommuni/template

34 lines
907 B
Bash

# Template file for 'libcommuni'
pkgname=libcommuni
version=3.5.0
revision=1
build_style=qmake
configure_args="-config release"
hostmakedepends="qt5-qmake"
makedepends="qt5-declarative-devel"
short_desc="Cross-platform IRC framework written with Qt"
maintainer="John Regan <john@jrjrtech.com>"
license="BSD-3-Clause"
homepage="http://communi.github.io/"
changelog="https://raw.githubusercontent.com/communi/libcommuni/master/CHANGELOG"
distfiles="https://github.com/communi/libcommuni/archive/v${version}.tar.gz"
checksum=cc0690129c7963578df9be2127ca5ba9f1e182bfe6c138d84612382e2dc80177
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-declarative-devel"
fi
post_install() {
vlicense LICENSE
}
libcommuni-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/qt5/mkspecs
}
}