void-packages/srcpkgs/dotherside/template
2021-03-16 07:45:23 +07:00

26 lines
793 B
Bash

# Template file for 'dotherside'
pkgname=dotherside
version=0.7.1
revision=1
build_style=cmake
hostmakedepends="qt5-host-tools qt5-qmake"
makedepends="qt5-declarative-devel qt5-quickcontrols2-devel"
short_desc="C language library for creating bindings for the Qt QML language"
maintainer="gangstacat <grumpy@keemail.me>"
license="LGPL-3.0-only"
homepage="https://github.com/filcuc/dotherside"
distfiles="https://github.com/filcuc/dotherside/archive/v${version}.tar.gz"
checksum=de318ef55762d4db4ae7aa272d4bb1dbd4864efd53b87b45abad149b4d13b1e7
do_check() {
QT_QPA_PLATFORM=offscreen ./build/test/TestDynamicQObject
}
dotherside-devel_package() {
depends="dotherside>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
}
}