void-packages/srcpkgs/kauth/template
2020-09-13 19:25:03 +02:00

32 lines
918 B
Bash

# Template file for 'kauth'
pkgname=kauth
version=5.74.0
revision=1
build_style=cmake
hostmakedepends="kcoreaddons extra-cmake-modules pkg-config"
makedepends="kcoreaddons-devel polkit-qt5-devel"
short_desc="KDE Execute actions as privileged user"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/kauth"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=e0aa6206c4bf9220d1c4882b8b77f9cf9202646b64b8a249a60a9d4b272e3bfc
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" kcoreaddons qt5-host-tools qt5-qmake qt5-tools-devel polkit-qt5-devel"
fi
do_check() {
: # KAuthHelperTest blocks
}
kauth-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/qt5/mkspecs
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}