# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kirigami2 pkgver=5.49.0 pkgrel=0 pkgdesc="A QtQuick based components set" arch="all" url="https://community.kde.org/Frameworks" license="LGPL" depends="qt5-qtgraphicaleffects" depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtsvg-dev qt5-qtquickcontrols2-dev kpackage-dev kcoreaddons-dev kservice-dev kconfig-dev kwindowsystem-dev" makedepends="$depends_dev extra-cmake-modules qt5-qttools-dev" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz" subpackages="$pkgname-dev $pkgname-libs $pkgname-lang" options="!check" builddir="$srcdir/build" prepare() { mkdir "$builddir" } build() { cd "$builddir" cmake "$srcdir"/$pkgname-$pkgver \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DKDE_INSTALL_LIBDIR=lib \ -DBUILD_EXAMPLES=ON make } check() { cd "$builddir" CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="61a97106f6929ceb149816e02189a7fe4e2ba3f6265f6715ece36b35268238da0ba125779ecaa6b4764c680b1c3f488e95d605076102bb953a18b4830909d5c1 kirigami2-5.49.0.tar.xz"