# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=applet-window-buttons pkgver=0.9.0 pkgrel=0 pkgdesc="Plasma 5 applet in order to show window buttons in your panels " url="https://github.com/psifidotos/applet-window-buttons" # armhf blocked by extra-cmake-modules # s390x, mips64 and riscv64 blocked by polkit -> plasma-framework arch="all !armhf !s390x !mips64 !riscv64" license="GPL-2.0-or-later" makedepends=" extra-cmake-modules kcoreaddons-dev kdeclarative-dev kdecoration-dev plasma-framework-dev qt5-qtbase-dev qt5-qtdeclarative-dev " source="https://github.com/psifidotos/applet-window-buttons/archive/$pkgver/applet-window-buttons-$pkgver.tar.gz" build() { cmake -B build \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_SHARED_LIBS=True cmake --build build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 10a5034bdcb6a7dd2cb58814729b600cc264138366f21cfb833d950ac809479561dce53490784d56f1a8dee74688bed96b60363d3b30779d63b90b52bc65dcc3 applet-window-buttons-0.9.0.tar.gz "