42 lines
1.1 KiB
Bash
42 lines
1.1 KiB
Bash
# Template file for 'kf6-kauth'
|
|
pkgname=kf6-kauth
|
|
version=6.7.0
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DKDE_INSTALL_QMLDIR=lib/qt6/qml
|
|
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
|
|
hostmakedepends="extra-cmake-modules qt6-tools qt6-base"
|
|
makedepends="kf6-kcoreaddons-devel kf6-kwindowsystem-devel polkit-qt6-devel"
|
|
checkdepends="dbus"
|
|
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#kf6-}-${version}.tar.xz"
|
|
checksum=173654eee2891acd41538d31ace8b9d7ae60863bc7faef1cacec7e21c7eb1223
|
|
subpackages="kf6-kauth-tools kf6-kauth-devel"
|
|
|
|
do_check() {
|
|
cd build
|
|
dbus-run-session ctest
|
|
}
|
|
|
|
kf6-kauth-tools_package() {
|
|
short_desc+=" - tools"
|
|
pkg_install() {
|
|
vmove usr/libexec
|
|
vmove "usr/lib/cmake/KF6Auth/*Tools*"
|
|
}
|
|
}
|
|
|
|
kf6-kauth-devel_package() {
|
|
depends="$makedepends kf6-kauth-tools>=${version}_${revision}
|
|
${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|