# Template file for 'kde-cli-tools'
pkgname=kde-cli-tools
version=6.2.5
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF -DKF6_HOST_TOOLING=/usr/lib/cmake
 -DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
hostmakedepends="extra-cmake-modules qt6-base qt6-tools gettext
 kf6-kconfig kf6-kcmutils"
makedepends="plasma-activities-devel kf6-kcmutils-devel kf6-kdesu-devel
 plasma-workspace-devel kf6-ki18n-devel qt6-base-private-devel"
depends="xdg-utils"
short_desc="KDE CLI tools"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later, GPL-2.0-or-later"
homepage="https://invent.kde.org/plasma/kde-cli-tools"
distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
checksum=1dda57f7495060a086658796519d68d54f5e7da4e12fa6d8d4bf4614ac728002

post_install() {
	ln -sf ../libexec/kf6/kdesu ${DESTDIR}/usr/bin
}
