1 # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
4 pkgname=gnome-power-manager
7 pkgdesc="System power information and statistics"
8 url="https://gitlab.gnome.org/GNOME/gnome-power-manager"
11 depends=(gtk3 upower dconf)
12 makedepends=(git meson)
13 _commit=147464788853d4d5eb35514d7597cf22a24b5af1 # tags/GNOME_POWER_MANAGER_3_32_0^0
14 source=("git+https://gitlab.gnome.org/GNOME/gnome-power-manager.git#commit=$_commit")
19 git describe --tags | sed 's/^GNOME_POWER_MANAGER_//;s/_/./g;s/-/+/g'
27 arch-meson $pkgname build
36 DESTDIR="$pkgdir" meson install -C build