# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=plymouth-kcm pkgver=5.17.4 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="ded5142b88452f5df3241a71760e77811e1fefacdabff8e5a044fc1e73c0b0d6cdbdc96dcf6cc1af1bcb35b8780ed13e437d7bba54f7fca872869f94d3daa21c plymouth-kcm-5.17.4.tar.xz"