31 lines
906 B
Bash
31 lines
906 B
Bash
# Template file for 'kauth'
|
|
pkgname=kauth
|
|
version=5.92.0
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="kcoreaddons extra-cmake-modules pkg-config kcoreaddons
|
|
qt5-host-tools qt5-qmake qt5-tools-devel polkit-qt5-devel"
|
|
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=44824bf68ee510d8aa0189a9d4b44568b0fe20d17ba45e3b739db1927bfa4728
|
|
|
|
do_check() {
|
|
cd build
|
|
# KAuthHelperTest just hangs
|
|
ctest -E 'KAuthHelperTest'
|
|
}
|
|
|
|
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"
|
|
}
|
|
}
|