# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=syndication pkgver=5.68.0 pkgrel=0 pkgdesc="An RSS/Atom parser library" arch="all !armhf" # armhf blocked by extra-cmake-modules 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=None \ -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="ae9e9b22ae4120a452185c613561475e46efc185853d111b298e0372ed0e98dcca524a76acc8a58d1d15c5232c766e096dab21d01dd36135febefdab6f2ac6d0 syndication-5.68.0.tar.xz"