void-packages/srcpkgs/kauth/template
2017-07-19 14:31:42 +00:00

28 lines
880 B
Bash

# Template file for 'kauth'
pkgname=kauth
version=5.36.0
revision=1
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="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=d3f94113d14f85894f59f234efebfec8c42b4b8a8452460b7f4f2ccc03657d28
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
}
}