summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4ab5c3207d94b85ae2c814d16392474ab3c50172 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Maintainer: GreyXor <greyxor@protonmail.com>
pkgname=power-profiles-daemon-git
pkgver=0.21+4+gff79008
pkgrel=1
pkgdesc='Makes power profiles handling available over D-Bus (git development version)'
arch=('x86_64')
url="https://gitlab.freedesktop.org/upower/power-profiles-daemon"
license=(MIT)
depends=(glib2-devel glib2 python-gobject python-shtab python-pylint bash-completion python-dbusmock upower polkit)
checkdepends=(python-dbusmock python-isort umockdev gobject-introspection python-gobject python-mccabe umockdev)
makedepends=(meson git python-argparse-manpage)
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("${pkgname}::git+${url}.git")
b2sums=('SKIP')

pkgver() {
	cd $pkgname
	git describe --tags | sed 's/-/+/g'
}

build() {
	arch-meson "$pkgname" build
	meson compile -C build
}

package() {
	meson install -C build --destdir "$pkgdir"
}