# Maintainer: Antoni Aloy pkgname=qps pkgver=2.6.0 pkgrel=0 pkgdesc="LXQt process manager" url="https://github.com/lxqt/qps" arch="all !armhf !riscv64" # limited by lxqt-config license="LGPL-2.0-or-later" makedepends=" cmake samurai lxqt-build-tools qt5-qtbase-dev qt5-qttools-dev libqtxdg-dev liblxqt-dev kwindowsystem-dev " subpackages="$pkgname-doc $pkgname-lang" options="!check" # No testsuite source="https://github.com/lxqt/qps/releases/download/$pkgver/qps-$pkgver.tar.xz" build() { if [ "$CBUILD" != "$CHOST" ]; then CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux" fi cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_SHARED_LIBS=True \ $CMAKE_CROSSOPTS . cmake --build build } package() { DESTDIR="$pkgdir" cmake --build build --target install } lang() { install_if="lang $pkgname=$pkgver-r$pkgrel" amove usr/share/$pkgname/translations } sha512sums=" c405841b2a455daeaf57e86c90a85e2d1e7c9a012d29262cba2b25f4b26ef693ae902d7d97b82504124d1b4562341af9c782b06745903616f1d3b809979d569a qps-2.6.0.tar.xz "