[arch-commits] Commit in gnome-chess/repos (2 files)

Jan Steffens heftig at archlinux.org
Wed Mar 14 20:30:40 UTC 2018


    Date: Wednesday, March 14, 2018 @ 20:30:39
  Author: heftig
Revision: 319111

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 319110, gnome-chess/trunk/PKGBUILD)

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

Copied: gnome-chess/repos/gnome-unstable-x86_64/PKGBUILD (from rev 319110, gnome-chess/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD	2018-03-14 20:30:39 UTC (rev 319111)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gnome-chess
+pkgver=3.28.0+6+g93fa6a2
+pkgrel=1
+pkgdesc="Play the classic two-player boardgame of chess"
+url="https://wiki.gnome.org/Apps/Chess"
+arch=(x86_64)
+license=(GPL)
+depends=(gtk3 librsvg)
+makedepends=(gobject-introspection yelp-tools appstream-glib vala git meson) 
+optdepends=('gnuchess: Play against computer')
+groups=(gnome-extra)
+_commit=93fa6a22de4224e6f8150eef700b90f3e8898d35  # master
+source=("git+https://git.gnome.org/browse/gnome-chess#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+}
+
+build() {
+  arch-meson $pkgname build
+  ninja -C build
+}
+
+check() {
+  cd build
+  meson test
+}
+
+package() {
+  DESTDIR="$pkgdir" ninja -C build install
+}



More information about the arch-commits mailing list