# Template file for 'kf6-kpty'
pkgname=kf6-kpty
version=6.8.0
revision=1
build_style=cmake
configure_args="-DUTEMPTER_EXECUTABLE=/usr/lib/utempter/utempter"
hostmakedepends="extra-cmake-modules qt6-tools qt6-base
 gettext"
makedepends="kf6-kcoreaddons-devel kf6-ki18n-devel libutempter-devel"
short_desc="KDE Interfacing with pseudo terminal devices"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/kpty"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
checksum=fbc7f390a0b8397a5163f16b140c0662c994f614a05f7e5a5161493c3cbc3e36

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