#!/bin/bash # shellcheck disable=SC2034,SC2164 # Maintainer: Zack Emmert # Contributor Alexandre Bouvier # Contributor: Daniel Cohen # Contributor: Jamesjon pkgname=plymouth-kcm pkgver=5.17.5 pkgrel=1 pkgdesc="KCM to manage the Plymouth (Boot) theme" arch=('any') url="https://cgit.kde.org/plymouth-kcm.git/" license=('GPL') depends=('plymouth' 'knewstuff' 'kconfig' 'kconfigwidgets' 'ki18n' 'kdeclarative' 'kcmutils') makedepends=('cmake' 'kdoctools' 'extra-cmake-modules') source=("https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz"{,.sig}) sha256sums=('f34e5bbf334b3cc5bfe2b3bd4937cab0f7cf7bbe6864131eb55ed7a239adb208' 'SKIP') validpgpkeys=('2D1D5B0588357787DE9EE225EC94D18F7F05997E') prepare() { mkdir -p $srcdir/${pkgname}-$pkgver/build } build() { cd "$srcdir/${pkgname}-$pkgver/build" cmake .. -DCMAKE_INSTALL_PREFIX=`kf5-config --prefix` \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_PREFIX_PATH=/usr/share/ECM \ -DBUILD_TESTING=OFF make } package() { cd "$srcdir/${pkgname}-$pkgver/build" make DESTDIR="$pkgdir" install }