aboutsummaryrefslogtreecommitdiffstats
path: root/community/powerdevil
diff options
context:
space:
mode:
Diffstat (limited to 'community/powerdevil')
-rw-r--r--community/powerdevil/APKBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/community/powerdevil/APKBUILD b/community/powerdevil/APKBUILD
index 44d4c452f4..b2bc4df8de 100644
--- a/community/powerdevil/APKBUILD
+++ b/community/powerdevil/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=powerdevil
pkgver=5.20.5
-pkgrel=1
+pkgrel=2
pkgdesc="Manages the power consumption settings of a Plasma Shell"
# armhf blocked by extra-cmake-modules
# s390x blocked by libksysguard
@@ -30,6 +30,10 @@ check() {
package() {
DESTDIR="$pkgdir" cmake --build build --target install
+
+ # org_kde_powerdevil has CAP_WAKE_ALARM set and this breaks dbus
+ # Remove CAP_WAKE_ALARM from org_kde_powerdevil to make it work again
+ setcap -r "$pkgdir"/usr/lib/libexec/org_kde_powerdevil
}
sha512sums="c862314d5ad446fb48c08f3e6cbcc72bad0f1825756954ae0d2bd1ceac55e3324124698d3d0803103ff35561bf4fcddaa00831b7b4cb93763d17876a348a3c6f powerdevil-5.20.5.tar.xz"