[arch-commits] Commit in gnome-chess/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Wed Mar 14 20:26:32 UTC 2018


    Date: Wednesday, March 14, 2018 @ 20:26:31
  Author: heftig
Revision: 319104

3.28.0+6+g93fa6a2-1

Modified:
  gnome-chess/trunk/PKGBUILD

----------+
 PKGBUILD |   21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-03-14 20:26:14 UTC (rev 319103)
+++ PKGBUILD	2018-03-14 20:26:31 UTC (rev 319104)
@@ -3,7 +3,7 @@
 # Contributor: Jan de Groot <jgc at archlinux.org>
 
 pkgname=gnome-chess
-pkgver=3.26.0+4+gf6e1b13
+pkgver=3.28.0+6+g93fa6a2
 pkgrel=1
 pkgdesc="Play the classic two-player boardgame of chess"
 url="https://wiki.gnome.org/Apps/Chess"
@@ -10,10 +10,10 @@
 arch=(x86_64)
 license=(GPL)
 depends=(gtk3 librsvg)
-makedepends=(intltool itstool gobject-introspection yelp-tools appstream-glib vala git)
+makedepends=(gobject-introspection yelp-tools appstream-glib vala git meson) 
 optdepends=('gnuchess: Play against computer')
 groups=(gnome-extra)
-_commit=f6e1b130e2372828b116c8a11d57aa785f730614  # gnome-3-26
+_commit=93fa6a22de4224e6f8150eef700b90f3e8898d35  # master
 source=("git+https://git.gnome.org/browse/gnome-chess#commit=$_commit")
 sha256sums=('SKIP')
 
@@ -24,17 +24,18 @@
 
 prepare() {
   cd $pkgname
-  NOCONFIGURE=1 ./autogen.sh
 }
 
 build() {
-  cd $pkgname
-  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
-      --disable-schemas-compile
-  make
+  arch-meson $pkgname build
+  ninja -C build
 }
 
+check() {
+  cd build
+  meson test
+}
+
 package() {
-  cd $pkgname
-  make DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" ninja -C build install
 }



More information about the arch-commits mailing list