# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=plasma-nm pkgver=5.15.4 pkgrel=0 pkgdesc="Plasma applet written in QML for managing network connections" arch="all" url="https://www.kde.org/workspaces/plasmadesktop/" license="GPL-2.0" depends="networkmanager" makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qttools-dev ki18n-dev kwindowsystem-dev kservice-dev kcompletion-dev kwidgetsaddons-dev kio-dev kcoreaddons-dev kwallet-dev kitemviews-dev kxmlgui-dev kconfigwidgets-dev kiconthemes-dev solid-dev kdbusaddons-dev knotifications-dev plasma-workspace-dev kdeclarative-dev kinit-dev kdelibs4support-dev networkmanager-qt-dev modemmanager-qt-dev qca-dev" source="https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz" subpackages="$pkgname-lang" build() { cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_MOBILE=ON make } check() { cd "$builddir" CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="1d44adf022833069414440cca08c387eeaa2c3ac6fc5675dc198d53b6c1e5bdfeec22f1ac2d3f25b248f1c51e056844b89c67f5bf899f1321057168d214da6c3 plasma-nm-5.15.4.tar.xz"