# Template file for 'kdegraphics-mobipocket' pkgname=kdegraphics-mobipocket version=17.12.0 revision=1 build_style=cmake configure_args="-DBUILD_TESTING=OFF" hostmakedepends="extra-cmake-modules" makedepends="kio-devel" short_desc="A collection of plugins to handle mobipocket files" maintainer="Denis Revin " license="GPL-2" homepage="https://projects.kde.org/projects/kde/kdegraphics-mobipocket" distfiles="http://download.kde.org/stable/applications/${version}/src/${pkgname%5}-${version}.tar.xz" checksum=2ee9769db4d9a4ad39924869bd3b7f5699ae3414f40188cc54ab06cb40b32580 libqmobipocket_package() { short_desc+=" - runtime library" pkg_install() { vmove usr/lib/*.so.* } } libqmobipocket-devel_package() { short_desc+=" - development files" depends="libq${sourcepkg#kdegraphics-}>=${version}_${revision}" pkg_install() { vmove usr/include vmove usr/lib/cmake vmove usr/lib/*.so } } if [ -n "$CROSS_BUILD" ]; then hostmakedepends+=" qt5-host-tools qt5-qmake" fi