29 lines
847 B
Bash
29 lines
847 B
Bash
# Template file for 'polkit-qt'
|
|
pkgname=polkit-qt
|
|
version=0.112.0
|
|
revision=4
|
|
wrksrc="polkit-qt-1-$version"
|
|
build_style=cmake
|
|
hostmakedepends="pkg-config automoc4 git"
|
|
makedepends="polkit-devel qt-devel"
|
|
short_desc="Qt-style PolicyKit API"
|
|
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
|
license="LGPL-2.0-or-later"
|
|
homepage="https://projects.kde.org/projects/kdesupport/polkit-qt-1"
|
|
distfiles="${KDE_SITE}/apps/KDE4.x/admin/polkit-qt-1-${version}.tar.bz2"
|
|
checksum=67fb03bf6ca3e0bdbd98d374dfb5b1651a07d17ae6c23e11a81b4b084447e7c6
|
|
|
|
if [ -n "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" qt-host-tools qt-devel"
|
|
fi
|
|
|
|
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"
|
|
}
|
|
}
|