void-packages/srcpkgs/kauth/template
2018-07-30 19:48:22 -03:00

28 lines
861 B
Bash

# Template file for 'kauth'
pkgname=kauth
version=5.47.0
revision=2
build_style=cmake
hostmakedepends="extra-cmake-modules pkg-config"
makedepends="kcoreaddons-devel polkit-qt5-devel"
short_desc="KDE Execute actions as privileged user"
maintainer="Denis Revin <denis.revin@gmail.com>"
license="LGPL-2"
homepage="https://projects.kde.org/projects/frameworks/kauth"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=29c7c3d6c539d52200806502e4b11a132c1941512df6f2d3e073ed3e7f7e00e9
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-qmake qt5-tools-devel polkit-qt5-devel"
fi
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
}
}