void-packages/srcpkgs/polkit-qt/template

40 lines
1.3 KiB
Text

# Template file for 'polkit-qt'
pkgname=polkit-qt
version=0.103.0
revision=3
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
long_desc="
PolicyKit is an application-level toolkit for defining and handling the
policy that allows unprivileged processes to speak to privileged processes.
It is a framework for centralizing the decision making process with respect
to granting access to privileged operations (like calling the HAL Mount()
method) for unprivileged (desktop) applications.
${pkgname} provides convenience classes and methods for Qt/KDE applications
that want to use PolicyKit."
polkit-qt-devel_package() {
depends="qt-devel polkit-devel polkit-qt>=${version}"
short_desc="${short_desc} -- development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/cmake
}
}
polkit-qt_package() {
pkg_install() {
vmove usr
}
}