# Template file for 'libkipi5'
pkgname=libkipi5
version=18.08.2
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
wrksrc="${pkgname%5}-${version}"
hostmakedepends="extra-cmake-modules kdoctools qt5-host-tools qt5-qmake"
makedepends="kxmlgui-devel"
conflicts="libkipi"
short_desc="An interface to use kipi-plugins from a KDE application"
maintainer="Denis Revin <denis.revin@gmail.com>"
license="GPL-2.0-or-later"
homepage="https://projects.kde.org/projects/kde/kdegraphics/libs/libkipi"
distfiles="${KDE_SITE}/applications/${version}/src/${pkgname%5}-${version}.tar.xz"
checksum=0b0948082a3f41fa404e285656ada0eb3cd9a5bb3686f74fea3be944531b4b58

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