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