# Template file for 'kde-cli-tools'
pkgname=kde-cli-tools
version=5.27.2
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF -DKF5_HOST_TOOLING=/usr/lib/cmake"
hostmakedepends="extra-cmake-modules gettext pkg-config kcmutils-devel
 kpackage-devel kdoctools kcoreaddons-devel 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=d5b57baad1e2f12923b4cf25f8559b6592adf21b8f2b9ec536b2fb74a24836a1

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