28 lines
871 B
Bash
28 lines
871 B
Bash
# Template file for 'kauth'
|
|
pkgname=kauth
|
|
version=5.48.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.1-or-later"
|
|
homepage="https://projects.kde.org/projects/frameworks/kauth"
|
|
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=47afa9e89543be8bd732fc8b8c0b6e04b71d36e55c547697623ed546845eb702
|
|
|
|
if [ "$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"
|
|
}
|
|
}
|