# Maintainer: Jan Alexander Steffens (heftig) # Contributor: Jan de Groot pkgname=gnome-chess pkgver=43.2 pkgrel=1 pkgdesc="Play the classic two-player boardgame of chess" url="https://wiki.gnome.org/Apps/Chess" arch=(x86_64) license=(GPL) depends=( gtk4 libadwaita librsvg ) makedepends=( git gobject-introspection meson vala yelp-tools ) optdepends=('gnuchess: Play against computer') groups=(gnome-extra) _commit=de47d07ec6fc828b2668ca6ee59fe9bdfa9dc1d6 # tags/43.2^0 source=("git+https://gitlab.gnome.org/GNOME/gnome-chess.git#commit=$_commit") b2sums=('SKIP') pkgver() { cd $pkgname git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g' } prepare() { cd $pkgname } build() { arch-meson $pkgname build meson compile -C build } check() { meson test -C build --print-errorlogs } package() { meson install -C build --destdir "$pkgdir" } # vim:set sw=2 sts=-1 et: