# Template file for 'libqmobipocket'
pkgname=libqmobipocket
version=22.12.1
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules kcoreaddons qt5-host-tools qt5-qmake gettext"
makedepends="kio-devel"
short_desc="Collection of plugins to handle mobipocket files"
maintainer="Denis Revin <denis.revin@gmail.com>"
license="GPL-2.0-or-later"
homepage="https://projects.kde.org/projects/kde/kdegraphics-mobipocket"
changelog="https://kde.org/announcements/changelogs/gear/${version}/#kdegraphics-mobipocket"
distfiles="${KDE_SITE}/release-service/${version}/src/kdegraphics-mobipocket-${version}.tar.xz"
checksum=867a0724ebd624323a0f52158e9aa8c847f102deb416034be9d73ef50495318e

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