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