# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=qqc2-breeze-style pkgver=5.27.3 pkgrel=0 pkgdesc="Breeze inspired QQC2 style" # armhf blocked by extra-cmake-modules arch="all !armhf" url="https://www.plasma-mobile.org/" license="LicenseRef-KDE-Accepted-LGPL AND LicenseRef-KFQF-Accepted-GPL" depends="kirigami2" makedepends=" extra-cmake-modules kconfig-dev kconfigwidgets-dev kguiaddons-dev kiconthemes-dev kirigami2-dev qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtquickcontrols2-dev qt5-qtx11extras-dev samurai " case "$pkgver" in *.90*) _rel=unstable;; *) _rel=stable;; esac source="https://download.kde.org/$_rel/plasma/$pkgver/qqc2-breeze-style-$pkgver.tar.xz" subpackages="$pkgname-dev" options="!check" # No tests 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=" 63c1ba212cb0132a8baf68eaefcb34447e848ef2771ae464824623384434cd1f30ba12399736056c1e57b1769f86c3921f37c37985aa2eea8e83b118f47d5d16 qqc2-breeze-style-5.27.3.tar.xz "