void-packages/srcpkgs/polkit-qt/template

25 lines
777 B
Bash

# Template file for 'polkit-qt'
pkgname=polkit-qt
version=0.112.0
revision=2
build_style=cmake
hostmakedepends="pkg-config automoc4 git"
makedepends="polkit-devel qt-devel"
short_desc="Qt-style PolicyKit API"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="https://projects.kde.org/projects/kdesupport/polkit-qt-1"
license="LGPL-2.1"
wrksrc="polkit-qt-1-$version"
distfiles="http://download.kde.org/stable/apps/KDE4.x/admin/polkit-qt-1-${version}.tar.bz2"
checksum=67fb03bf6ca3e0bdbd98d374dfb5b1651a07d17ae6c23e11a81b4b084447e7c6
polkit-qt-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}