# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kirigami2 pkgver=5.108.0 pkgrel=0 pkgdesc="A QtQuick based components set" arch="all !armhf" # armhf blocked by qt5-qtdeclarative url="https://community.kde.org/Frameworks" license="LGPL-2.0-only" depends=" qt5-qtgraphicaleffects " depends_dev=" kconfig-dev kcoreaddons-dev kwindowsystem-dev qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtquickcontrols2-dev qt5-qtsvg-dev " makedepends="$depends_dev extra-cmake-modules qt5-qttools-dev samurai " source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kirigami2-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-libs $pkgname-lang" build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DKDE_INSTALL_LIBDIR=lib \ -DBUILD_EXAMPLES=OFF cmake --build build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 16bf148743898ee6a6cd328d26ebadea9a4467fe32f3233c05651370a55b70eb172dea03ece8627a3162ea851bdf975bec5fa78cd20ccca56995a7f39ac7e0dc kirigami2-5.108.0.tar.xz "