void-packages/srcpkgs/polkit-qt5/template
2016-11-09 13:13:57 +01:00

29 lines
868 B
Bash

# Template file for 'polkit-qt5'
pkgname=polkit-qt5
version=0.112.0
revision=2
build_style=cmake
hostmakedepends="pkg-config automoc4 git"
makedepends="polkit-devel qt5-devel"
short_desc="Qt-style PolicyKit API (Qt5)"
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
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-devel"
fi
polkit-qt5-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"
}
}