# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=syndication pkgver=5.64.0 pkgrel=0 pkgdesc="An RSS/Atom parser library" arch="all" url="https://community.kde.org/Frameworks" license="LGPL-2.0-or-later AND BSD-3-Clause" depends_dev="qt5-qtbase-dev kcodecs-dev" makedepends="$depends_dev extra-cmake-modules doxygen graphviz qt5-qttools-dev" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/syndication-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc" prepare() { default_prepare mkdir "$builddir"/build } build() { cd "$builddir"/build cmake "$builddir" \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON make } check() { cd "$builddir"/build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { cd "$builddir"/build DESTDIR="$pkgdir" make install } sha512sums="6ab26136e92f49d8acb4b5117bd2c1450ea779bc0c0d4f194013ae0f26eb19bb85fab93d1b4e08edce25c6158860907c5eed3870c114610b10ced521c5ab12cd syndication-5.64.0.tar.xz"