# Template file for 'kf6-kdesu'
pkgname=kf6-kdesu
version=6.6.0
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules qt6-tools qt6-base
 gettext"
makedepends="kf6-kconfig-devel kf6-kcoreaddons-devel kf6-ki18n-devel
 kf6-kpty-devel qt6-base-private-devel"
short_desc="KDE User interface for running shell commands with root privileges"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/kdesu"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
checksum=d5ac127e3b218da7a785fa606490b052c09d481bcff0227b45d42ef0e3f34a5f

kf6-kdesu-devel_package() {
	depends="$makedepends ${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/cmake
		vmove "usr/lib/*.so"
	}
}
