1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Balló György <ballogyor+arch at gmail dot com>
7 pkgdesc="GNOME application to view information about use of system resources"
8 url="https://wiki.gnome.org/Apps/Usage"
11 depends=(gtk3 libgtop libdazzle tracker3 libhandy xdg-user-dirs)
12 makedepends=(git meson vala accountsservice gamemode)
13 optdepends=('accountsservice: show user tags for processes'
14 'gamemode: show processes requesting game mode')
16 _commit=4745bb5e8f2a44a35cb410020dcf6e54e73bd6e1 # tags/3.38.1^0
17 source=("git+https://gitlab.gnome.org/GNOME/gnome-usage.git#commit=$_commit")
22 git describe --tags | sed 's/^v//;s/-/+/g'
26 arch-meson $pkgname build
27 meson compile -C build
31 meson test -C build --print-errorlogs
35 meson install -C build --destdir "$pkgdir"