archrelease: copy trunk to extra-x86_64
[arch-packages.git] / power-profiles-daemon / trunk / PKGBUILD
blob3a847f7dca9280da43c77d389bca5ceb9c9e1144
1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
2 # Contributor: tinywrkb <tinywrkb@gmail.com>
4 pkgname=power-profiles-daemon
5 pkgver=0.13
6 pkgrel=1
7 pkgdesc='Makes power profiles handling available over D-Bus'
8 url='https://gitlab.freedesktop.org/hadess/power-profiles-daemon'
9 license=(GPL3)
10 arch=(x86_64)
11 depends=(upower polkit)
12 optdepends=('python-gobject: for powerprofilesctl')
13 makedepends=(meson)
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')
18 build() {
19   meson $pkgname-$pkgver build \
20     --prefix /usr \
21     --libexec lib \
22     --sysconfdir /usr/share
23   meson compile -C build
26 check() {
27   meson test -C build
30 package() {
31   meson install -C build --destdir "$pkgdir"