# Maintainer: Gabriel Rauter # Contributor: Jaseem Abid _pkgname=gnome-usage pkgname=$_pkgname-git pkgver=3.38.1.116.g4fa9c81 pkgrel=1 pkgdesc="GNOME application to view information about use of system resources" arch=('i686' 'x86_64' 'armv6h' 'armv7h') url="https://wiki.gnome.org/Apps/Usage" license=(GPL3) depends=( graphene gtk4 libgtop libadwaita libgee tracker3 ) makedepends=(git meson vala) optdepends=('accountsservice: show user tags for processes') provides=("$_pkgname") conflicts=("$_pkgname") source=("git+https://gitlab.gnome.org/GNOME/$_pkgname.git") sha256sums=('SKIP') pkgver() { cd $_pkgname git describe --tags | sed 's/^v//;s/-/./g;s/_/./g;' } build() { arch-meson $_pkgname build ninja -C build } package() { DESTDIR="$pkgdir" ninja -C build install }