# Template file for 'libopenrazer'
pkgname=libopenrazer
version=0.2.0
revision=1
build_style=meson
hostmakedepends="pkg-config qt5-host-tools"
makedepends="qt5-devel"
short_desc="Qt wrapper around the D-Bus API from OpenRazer"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://github.com/z3ntu/libopenrazer"
distfiles="https://github.com/z3ntu/libopenrazer/releases/download/v${version}/libopenrazer-${version}.tar.xz"
checksum=86c28a1203e03f6c8f93490414a3a9ddcdb0459ce04bf08b6e3b6181478935f9

libopenrazer-devel_package() {
	depends="${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.so"
	}
}
