# Maintainer: Bart Ribbers pkgname=mauikit pkgver=1.2.0 pkgrel=0 pkgdesc="Kit for developing MAUI Apps" # armhf blocked by qt5-qtdeclarative # s390x blocked by plasma-framework arch="all !armhf !s390x" url="https://invent.kde.org/kde/mauikit" license="GPL-2.0-or-later" depends="kirigami2" depends_dev=" kconfig-dev kconfigwidgets-dev kdeclarative-dev kdecoration-dev ki18n-dev kio-dev knotifications-dev kservice-dev plasma-framework-dev qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtquickcontrols2-dev qt5-qtsvg-dev syntax-highlighting-dev " makedepends="$depends_dev extra-cmake-modules " source="https://invent.kde.org/maui/mauikit/-/archive/v$pkgver/mauikit-v$pkgver.tar.gz" subpackages="$pkgname-dev" builddir="$srcdir/$pkgname-v$pkgver" build() { cmake -B build \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" cmake --build build --target install } sha512sums="55795e332053b49edf4ea966ea19dbe804ba671587a6bf72e5cbe2f52acc5df0661235a4f38cf555a390c2701da1ddfa6ed6800576d385a72cd422996b1538a5 mauikit-v1.2.0.tar.gz"