# Template file for 'syndication'
pkgname=syndication
reverts="18.08.0_1 18.08.0_2 18.08.1_1"
version=5.89.0
revision=1
build_style=cmake
hostmakedepends="kcoreaddons extra-cmake-modules qt5-qmake qt5-host-tools"
makedepends="qt5-devel kcodecs-devel"
short_desc="RSS/Atom parser library"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://community.kde.org/KDE_PIM"
distfiles="${KDE_SITE}/frameworks/${version%.*}/syndication-${version}.tar.xz"
checksum=9ca5078a6a7bba689a8ab8786c1cfb0fee5788e95eddf4dbf9dc3d28c5e0cda0

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