# Template file for 'libdbusmenu-qt5'
pkgname=libdbusmenu-qt5
version=0.9.3+16.04.20160218
revision=3
wrksrc="${pkgname%5}-${version}"
build_style=cmake
configure_args="-DWITH_DOC=OFF"
hostmakedepends="pkg-config qt5-host-tools qt5-tools-devel"
makedepends="qt5-tools-devel"
short_desc="Library that provides a Qt5 implementation of the DBusMenu spec"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2"
homepage="https://launchpad.net/libdbusmenu-qt"
distfiles="${UBUNTU_SITE}/main/libd/${pkgname%5}/${pkgname%5}_${version}.orig.tar.gz"
checksum=a8e6358a31c44ccdf1bfc46c95a77a6bfc7fc1f536aadb913ed4f4405c570cf6

libdbusmenu-qt5-devel_package() {
	depends="${sourcepkg}-${version}_${revision}"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/lib/cmake
		vmove usr/lib/*.so
	}
}
