# Maintainer: Antoni Aloy pkgname=lxqt-powermanagement pkgver=1.3.0 pkgrel=0 pkgdesc="Power management module for LXQt" url="https://github.com/lxqt/lxqt-powermanagement" # armhf blocked by extra-cmake-modules -> kwindowsystem-dev arch="all !armhf" license="LGPL-2.0-or-later" makedepends=" cmake samurai kidletime-dev kwindowsystem-dev liblxqt-dev lxqt-build-tools lxqt-globalkeys-dev qt5-qttools-dev solid-dev " options="!check" # No testsuite subpackages="$pkgname-lang" source="https://github.com/lxqt/lxqt-powermanagement/releases/download/$pkgver/lxqt-powermanagement-$pkgver.tar.xz" build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_SHARED_LIBS=True cmake --build build } package() { DESTDIR="$pkgdir" cmake --install build } lang() { install_if="lang $pkgname=$pkgver-r$pkgrel" amove usr/share/lxqt/translations/$pkgname } sha512sums=" 79891ba791a167c8b4b27acd309908b0badafcf273aca880c4db592b776d8672d240bc8d4a9552cb83195a9a9929e5b1722a6d20be3ea810c3dcb61dc83fd323 lxqt-powermanagement-1.3.0.tar.xz "