void-packages/srcpkgs/libcommuni/template

30 lines
847 B
Bash

# Template file for 'libcommuni'
pkgname=libcommuni
version=3.5.0
revision=1
build_style=qmake
configure_args="-config release"
hostmakedepends="qt5-qmake qt5-host-tools"
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
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
}
}