archrelease: copy trunk to extra-x86_64
[arch-packages.git] / power-profiles-daemon / trunk / PKGBUILD
blob7a597361f82f3ac7305752695ffa685d65beb268
1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
2 # Contributor: tinywrkb <tinywrkb@gmail.com>
4 pkgname=power-profiles-daemon
5 pkgver=0.10.1
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=('a6db0c55e9109fe0ff83564c186e09c57c46999d2c44cae385772094a2c6d7f7129b3ded62ea1e921756a507fffba6d44809d6b01a05beacdfc2a5cd41934162')
18 build() {
19   meson $pkgname-$pkgver build \
20     --prefix /usr \
21     --libexec lib
22   meson compile -C build
25 check() {
26   meson test -C build
29 package() {
30   meson install -C build --destdir "$pkgdir"