0847f48d2a
[ci skip]
28 lines
883 B
Bash
28 lines
883 B
Bash
# Template file for 'kauth'
|
|
pkgname=kauth
|
|
version=5.70.0
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="kcoreaddons extra-cmake-modules pkg-config"
|
|
makedepends="kcoreaddons-devel polkit-qt5-devel"
|
|
short_desc="KDE Execute actions as privileged user"
|
|
maintainer="John <johnz@posteo.net>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://projects.kde.org/projects/frameworks/kauth"
|
|
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=b57379f1d02ec44111d46726a1fb1f9db3b369fcd35192a302efc2a1f2f9ad5a
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" kcoreaddons 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"
|
|
}
|
|
}
|