# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kirigami-gallery pkgver=20.04.0 pkgrel=0 arch="all !armhf" # armhf blocked by kirigami2 -> qt5-qtdeclarative url="https://kde.org/applications/development/org.kde.kirigami2.gallery" pkgdesc="Gallery application built using Kirigami" license="LGPL-2.0-or-later" depends="kirigami2" makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtquickcontrols2-dev qt5-qtsvg-dev qt5-qttools-dev" source="https://download.kde.org/stable/release-service/$pkgver/src/kirigami-gallery-$pkgver.tar.xz" subpackages="$pkgname-lang" build() { cmake -B build \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make -C build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" make -C build install } sha512sums="723d7ffac94642950a3f6903fe2396e4bc5fbef5b04dcc3b451b9c7a0083e5d67f7bf208471eb9a2a4f9e7dae955294562356c386caec185ca1bfd1c0148c75e kirigami-gallery-20.04.0.tar.xz"