# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kdecoration pkgver=9999_git1688448128 pkgrel=0 pkgdesc="Plugin based library to create window decorations" arch="all !armhf" url="https://kde.org/plasma-desktop/" license="LGPL-2.1-only OR LGPL-3.0-only" depends_dev=" kcoreaddons-dev ki18n-dev qt5-qtbase-dev " makedepends="$depends_dev extra-cmake-modules samurai " checkdepends="xvfb-run" case "$pkgver" in *.90*) _rel=unstable;; *) _rel=stable;; esac source="https://download.kde.org/$_rel/plasma/$pkgver/kdecoration-$pkgver.tar.xz" subpackages="$pkgname-dev " 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 xvfb-run -a ctest } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" d8420cda855cfc8c3dde3fddeb5515fc6f60d83a495aaa3e16f1a9155a2c62aed6324bba7848f63a80d76d0e34eca873132b18867ac75c157ff59a702725bed6 kdecoration-5.27.6.tar.xz " options="$options !strip"