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=('a6db0c55e9109fe0ff83564c186e09c57c46999d2c44cae385772094a2c6d7f7129b3ded62ea1e921756a507fffba6d44809d6b01a05beacdfc2a5cd41934162')
19 meson $pkgname-$pkgver build \
22 meson compile -C build
30 meson install -C build --destdir "$pkgdir"