# Template file for 'ktextaddons'
pkgname=ktextaddons
version=1.5.3
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools
 kcoreaddons kconfig gettext"
makedepends="kxmlgui-devel syntax-highlighting-devel kio-devel
 qtkeychain-qt5-devel qt5-speech-devel"
checkdepends="speech-dispatcher"
short_desc="Various text handling addon"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.0-or-later, GPL-2.0-or-later"
homepage="https://invent.kde.org/libraries/ktextaddons"
distfiles="${KDE_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=8a52db8abfa8a9d68d2d291fb0f8be20659fd7899987b4dcafdf2468db0917dc

#do_check() {
#}

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