# Template file for 'polkit-qt'
pkgname=polkit-qt
version=0.103.0
revision=4
wrksrc="${pkgname}-1-${version}"
build_style=cmake
hostmakedepends="pkg-config cmake automoc4"
makedepends="polkit-devel qt-devel"
short_desc="Qt-style PolicyKit API"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="https://projects.kde.org/projects/kdesupport/polkit-qt-1"
license="LGPL-2.1"
distfiles="http://download.kde.org/stable/apps/KDE4.x/admin/${pkgname}-1-${version}.tar.bz2"
checksum=2e32566b8e3d0fd7cf619497089763303c3dc08b7e5a666b2369720fced2274c

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