# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=knotifyconfig pkgver=5.108.0 pkgrel=0 pkgdesc="Configuration system for KNotify" # armhf blocked by extra-cmake-modules arch="all !armhf" url="https://community.kde.org/Frameworks" license="LGPL-2.0-only" depends_dev=" kcompletion-dev kconfig-dev ki18n-dev kio-dev " makedepends="$depends_dev doxygen extra-cmake-modules qt5-qttools-dev samurai " source="https://download.kde.org/stable/frameworks/${pkgver%.*}/knotifyconfig-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON cmake --build build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" fa482744bc4545c7c02b6984ae2aff25cd79454508106afa2eda348d25b54a8586e414c1c66671bf1263b10add1c7c8435c62f02cc1943b31059c7871c9fe7ed knotifyconfig-5.108.0.tar.xz "