Date: Tuesday, October 25, 2022 @ 17:16:17
  Author: heftig
Revision: 458946

archrelease: copy trunk to gnome-unstable-x86_64

Added:
  gnome-chess/repos/gnome-unstable-x86_64/
  gnome-chess/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 458945, gnome-chess/trunk/PKGBUILD)

----------+
 PKGBUILD |   42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

Copied: gnome-chess/repos/gnome-unstable-x86_64/PKGBUILD (from rev 458945, 
gnome-chess/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD                              (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD      2022-10-25 17:16:17 UTC (rev 458946)
@@ -0,0 +1,42 @@
+# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
+# Contributor: Jan de Groot <[email protected]>
+
+pkgname=gnome-chess
+pkgver=43.0
+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=(gobject-introspection yelp-tools vala git meson) 
+optdepends=('gnuchess: Play against computer')
+groups=(gnome-extra)
+options=(debug)
+_commit=b6b8a88debfbd48751a09f590a69020b39a64f63  # tags/43.0^0
+source=("git+https://gitlab.gnome.org/GNOME/gnome-chess.git#commit=$_commit";)
+sha256sums=('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:

Reply via email to