[arch-commits] Commit in gnome-chess/repos (2 files)
Jan Steffens
heftig at archlinux.org
Wed Sep 5 20:24:12 UTC 2018
Date: Wednesday, September 5, 2018 @ 20:24:12
Author: heftig
Revision: 333550
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 333549, gnome-chess/trunk/PKGBUILD)
----------+
PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
Copied: gnome-chess/repos/gnome-unstable-x86_64/PKGBUILD (from rev 333549, gnome-chess/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD 2018-09-05 20:24:12 UTC (rev 333550)
@@ -0,0 +1,39 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gnome-chess
+pkgver=3.30.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=(gtk3 librsvg)
+makedepends=(gobject-introspection yelp-tools appstream-glib vala git meson)
+optdepends=('gnuchess: Play against computer')
+groups=(gnome-extra)
+_commit=cd4c89e51969051b2ceab2b3a1d61d0fcc9a0943 # tags/3.30.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'
+}
+
+prepare() {
+ cd $pkgname
+}
+
+build() {
+ arch-meson $pkgname build
+ ninja -C build
+}
+
+check() {
+ meson test -C build
+}
+
+package() {
+ DESTDIR="$pkgdir" meson install -C build
+}
More information about the arch-commits
mailing list