source ../plasma.conf pkgname=plasma-nm pkgver=${PVersion} pkgrel=1 pkgdesc="Plasma applet written in QML for managing network connections" arch=('x86_64') url="https://projects.kde.org/projects/playground/network/plasma-nm" license=('GPL') depends=('libmm-qt5' 'libnm-qt5' 'plasma-framework' 'kemoticons' 'mobile-broadband-provider-info' 'openconnect') makedepends=('extra-cmake-modules' 'kdoctools' 'qt5-tools') checkdepends=("cmake") groups=('plasma') options=("debug") source=("${PServer}/${pkgver}/${pkgname}-${pkgver}.tar.xz") sha256sums=( $(getSum ${pkgname}) ) prepare() { mkdir -p build } build() { cd build cmake ../${pkgname}-${pkgver} \ -DCMAKE_BUILD_TYPE=${PBuildType} \ -DCMAKE_INSTALL_PREFIX=${PInstallPrefix} \ -DLIB_INSTALL_DIR=lib \ -DKDEPIM_SUPPORT_BUILD=FALSE make } check() { cd build #make test || return 0 return 0 } package() { cd build make DESTDIR="${pkgdir}" install }