# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=mauikit-accounts pkgver=2.2.1 pkgrel=0 pkgdesc="MauiKit Utilities to handle User Accounts" # armhf blocked by extra-cmake-modules arch="all !armhf" url="https://mauikit.org/" license="GPL-2.0-or-later" depends=" kirigami2 " depends_dev=" kconfig-dev kcoreaddons-dev ki18n-dev mauikit-dev qt5-qtbase-dev qt5-qtdeclarative-dev " makedepends="$depends_dev extra-cmake-modules samurai " source="https://download.kde.org/stable/maui/mauikit-accounts/$pkgver/mauikit-accounts-$pkgver.tar.xz" subpackages="$pkgname-dev" 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 ctest } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 860a4153d6edfbd7883761799c4e0428d9a8ca315071c297f918be78379c2a3fbfcc3a7eef77a45ed0e973c69f15d116d19f1fa0754b1cddfa3ce9c3bb90bcf4 mauikit-accounts-2.2.1.tar.xz "