# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=plasma-disks pkgver=9999_git1688448424 pkgrel=0 pkgdesc="Monitors S.M.A.R.T. capable devices for imminent failure" # armhf blocked by qt5-qtdeclarative arch="all !armhf" url="https://kde.org/plasma-desktop/" license="GPL-2.0-or-later" depends=" kirigami2 smartmontools " makedepends=" extra-cmake-modules qt5-qtbase-dev kcoreaddons-dev kdbusaddons-dev knotifications-dev ki18n-dev solid-dev kservice-dev kio-dev kauth-dev kdeclarative-dev samurai " checkdepends="xvfb-run" case "$pkgver" in *.90*) _rel=unstable;; *) _rel=stable;; esac source="https://download.kde.org/$_rel/plasma/$pkgver/plasma-disks-$pkgver.tar.xz" subpackages="" build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" ba64b1cdc5c1e7233a67e6b819200a3a8627d54495a05c1f5986ee715a821e69a1db874e33aeddd5596333bc47a4da6566878a362e94edbfdda84921a8d26ad1 plasma-disks-5.27.6.tar.xz " options="$options !strip"