1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
7 pkgdesc="Play the classic two-player boardgame of chess"
8 url="https://wiki.gnome.org/Apps/Chess"
11 depends=(gtk4 libadwaita librsvg)
12 makedepends=(gobject-introspection yelp-tools vala git meson)
13 optdepends=('gnuchess: Play against computer')
16 _commit=8dd35638d7c25bd214c0bb07e069d7ed332c32bd # tags/42.0^0
17 source=("git+https://gitlab.gnome.org/GNOME/gnome-chess.git#commit=$_commit")
22 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
30 arch-meson $pkgname build
31 meson compile -C build
35 meson test -C build --print-errorlogs
39 meson install -C build --destdir "$pkgdir"