1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
2 # Contributor: tinywrkb <tinywrkb@gmail.com>
4 pkgname=power-profiles-daemon
7 pkgdesc='Makes power profiles handling available over D-Bus'
8 url='https://gitlab.freedesktop.org/hadess/power-profiles-daemon'
11 depends=(upower polkit)
12 optdepends=('python-gobject: for powerprofilesctl')
14 checkdepends=(python-dbusmock python-isort python-mccabe umockdev)
15 source=(https://gitlab.freedesktop.org/hadess/power-profiles-daemon/-/archive/$pkgver/$pkgname-$pkgver.tar.gz)
16 b2sums=('80dba838433c7abdbc6079a8c6ff330cfda8dc1f0e8b8628125e466987238b1b7912b91af201ff120a2b1b7a5b081824c98d2a7e67a6c81d6ba7eb905d168ce4')
19 meson $pkgname-$pkgver build \
22 --sysconfdir /usr/share
23 meson compile -C build
31 meson install -C build --destdir "$pkgdir"