# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=plymouth-kcm pkgver=9999_git1688448567 pkgrel=0 # armhf blocked by extra-cmake-modules arch="all !armhf" url="https://invent.kde.org/plasma/plymouth-kcm" pkgdesc="KCM to manage the Plymouth (Boot) theme" license="GPL-2.0-or-later" depends="plymouth" makedepends=" extra-cmake-modules karchive-dev kcmutils-dev kconfig-dev kconfigwidgets-dev kdeclarative-dev ki18n-dev kio-dev knewstuff-dev plymouth-dev qt5-qtbase-dev samurai " case "$pkgver" in *.90*) _rel=unstable;; *) _rel=stable;; esac source="https://download.kde.org/$_rel/plasma/$pkgver/plymouth-kcm-$pkgver.tar.xz" subpackages="" options="!check" # No tests build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" ea9441e403fe5a2c41b5933759f9f9017a9581b26d939a2b5a06a1683fe1527fade854e87755559f956be089684c615ab31c7b607ac68ecb5092b9d04b031c6d plymouth-kcm-5.27.6.tar.xz " options="$options !strip"