# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=plymouth-kcm pkgver=5.17.0 pkgrel=0 arch="all" url="https://cgit.kde.org/plymouth-kcm.git" pkgdesc="KCM to manage the Plymouth (Boot) theme" license="GPL-2.0-or-later" depends="plymouth" makedepends="extra-cmake-modules qt5-qtbase-dev karchive-dev knewstuff-dev kio-dev kdeclarative-dev ki18n-dev kconfig-dev kconfigwidgets-dev plymouth-dev kcmutils" source="https://download.kde.org/stable/plasma/$pkgver/plymouth-kcm-$pkgver.tar.xz" subpackages="$pkgname-lang" options="!check" # No tests prepare() { default_prepare mkdir "$builddir"/build } build() { cd "$builddir"/build cmake "$builddir" \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make } check() { cd "$builddir"/build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { cd "$builddir"/build DESTDIR="$pkgdir" make install } sha512sums="b6b338eb78ae5d42bb2eb007c58d7023f8cb10c60b9a186da642a6dd873e8af1f26175d277c588a8f05da6743b8cf18eb7aee5d991d627d07b9a35cf4a4ee7af plymouth-kcm-5.17.0.tar.xz"