# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=knotifyconfig pkgver=5.58.0 pkgrel=0 pkgdesc="Configuration system for KNotify" arch="all" url="https://community.kde.org/Frameworks" license="LGPL-2.0-only" depends_dev="kcompletion-dev kconfig-dev ki18n-dev kio-dev" makedepends="$depends_dev extra-cmake-modules qt5-qttools-dev doxygen" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" 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="881f54d22dfd7920eced65d869303f1bec593a995a966d1a641ebae22bcbff5800f4d992c8190049ef6ff821a279f272ab7342f59a4d9aaddb66fb8535090c1b knotifyconfig-5.58.0.tar.xz"