# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=plasma-firewall pkgver=5.27.6 pkgrel=0 pkgdesc="Control Panel for your system firewall" # armhf blocked by qt5-qtdeclarative arch="all !armhf" url="https://kde.org/plasma-desktop/" license="GPL-2.0-or-later" depends=" python3 kirigami2 " makedepends=" extra-cmake-modules kcmutils-dev kcoreaddons-dev kdeclarative-dev ki18n-dev plasma-framework-dev qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtx11extras-dev samurai " checkdepends="xvfb-run" case "$pkgver" in *.90*) _rel=unstable;; *) _rel=stable;; esac source="https://download.kde.org/$_rel/plasma/$pkgver/plasma-firewall-$pkgver.tar.xz" subpackages="$pkgname-lang" 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=" 93ba3a0aab403df2174892962cb68c55da6c5ed14bbac1c6de939fdae3077d700e05688f29f16f59107b9b0dccd8d75808c566a55e115bf151452a55a7ea2ca8 plasma-firewall-5.27.6.tar.xz "