1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
7 pkgdesc="Clear hidden mines from a minefield"
8 url="https://wiki.gnome.org/Apps/Mines"
11 depends=(gtk3 librsvg libgnome-games-support)
12 makedepends=(yelp-tools appstream-glib vala git meson)
14 _commit=c7a2abc8a62a2d313959db76df3a811209409dc9 # tags/40.1^0
15 source=("git+https://gitlab.gnome.org/GNOME/gnome-mines.git#commit=$_commit")
20 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
28 arch-meson $pkgname build
29 meson compile -C build
33 meson test -C build --print-errorlogs
37 meson install -C build --destdir "$pkgdir"