# Template file for 'kf6-kbookmarks'
pkgname=kf6-kbookmarks
version=6.10.0
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules qt6-tools qt6-base"
makedepends="kf6-kconfig-devel kf6-kconfigwidgets-devel"
short_desc="KDE Bookmarks management library"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/kbookmarks"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
checksum=891eb12d2b9a2c3cdfbfdba250599c544d7186ce8d1ef07f4fc4cce1d57a945b

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