# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=syndication pkgver=5.58.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-Clause-3" 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%.*}/$pkgname-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc" build() { cmake \ -DCMAKE_BUILD_TYPE=RelWithDebugInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON make } check() { CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" make install } sha512sums="fbd3283e37f906b7bde76332721004ad679e99b4d8b3700ee0e98986f14a45dfd32048673d4e5270c351868c6e0f212b17bc4e4bc47f003cee4eb4dd16f9abd6 syndication-5.58.0.tar.xz"