void-packages/srcpkgs/qcoro-qt5/template

30 lines
795 B
Bash

# Template file for 'qcoro-qt5'
pkgname=qcoro-qt5
version=0.8.0
revision=1
build_style=cmake
configure_args="-DUSE_QT_VERSION=5"
hostmakedepends="qt5-qmake qt5-host-tools"
makedepends="qt5-devel qt5-websockets-devel qt5-declarative-devel"
checkdepends="dbus"
short_desc="C++ Coroutines for Qt5"
maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
license="MIT"
homepage="https://qcoro.dvratil.cz/"
distfiles="https://github.com/danvratil/qcoro/archive/refs/tags/v${version}.tar.gz"
checksum=28f90d817f42352084242f7a1ff090c5cff92359e4dbecea8f04d39ebcf630f8
post_install() {
vlicense LICENSE
}
qcoro-qt5-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/qt5/mkspecs
}
}