# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=plasma-nano pkgver=5.18.2 pkgrel=0 pkgdesc="A minimal Plasma shell package intended for embedded devices" arch="all !armhf" url="https://invent.kde.org/kde/plasma-nano" license="GPL-2.0-or-later AND LGPL-2.1-or-later" makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev plasma-framework-dev kwindowsystem-dev kwayland-dev" source="https://download.kde.org/stable/plasma/$pkgver/plasma-nano-$pkgver.tar.xz" options="!check" # No tests build() { cmake -B "$builddir"/build \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make -C build } check() { cd "$builddir"/build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" make -C build install } sha512sums="d320accb3162e1827b316c8e8c8be859bac2f7116c281ac3fbbd619262a70f0e38bd9f106b14b1d24a7f68d8ee7a0b652f97f9e51214e3d6aa8e970fdb7ddacf plasma-nano-5.18.2.tar.xz"