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 librsvg)
12 makedepends=(gobject-introspection yelp-tools vala git meson)
13 optdepends=('gnuchess: Play against computer')
15 _commit=1e5cf800528877aa9571d53503ec361f812b3705 # tags/41.1^0
16 source=("git+https://gitlab.gnome.org/GNOME/gnome-chess.git#commit=$_commit")
21 git describe --tags | sed 's/-/+/g'
29 arch-meson $pkgname build
30 meson compile -C build
34 meson test -C build --print-errorlogs
38 meson install -C build --destdir "$pkgdir"