# Template file for 'kf6-kbookmarks'
pkgname=kf6-kbookmarks
version=6.25.0
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules qt6-tools qt6-base kf6-kconfig"
makedepends="kf6-kconfig-devel qt6-base-devel kf6-kcoreaddons-devel
 kf6-kwidgetsaddons-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=5c4a8c1f8499f6ff1cdd035b56f6fe321244913b1894a8c6001c3acf082c5bd6

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