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