# Template file for 'kde-cli-tools'
pkgname=kde-cli-tools
version=5.24.4
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules gettext pkg-config
 kpackage kdoctools kcoreaddons python3 qt5-host-tools qt5-qmake"
makedepends="kactivities5-devel kcmutils-devel kdelibs4support-devel
 kdesu-devel plasma-workspace-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=ffe4c8d3f4e97c57801360ba32cb70c961ad5796d56d4f0bae10ab2ec68759f0

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