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

Jan Steffens heftig at archlinux.org
Wed Sep 5 20:10:38 UTC 2018


    Date: Wednesday, September 5, 2018 @ 20:10:38
  Author: heftig
Revision: 333538

3.30.0-1

Modified:
  gnome-sudoku/trunk/PKGBUILD	(contents, properties)

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-09-05 20:04:51 UTC (rev 333537)
+++ PKGBUILD	2018-09-05 20:10:38 UTC (rev 333538)
@@ -1,9 +1,8 @@
-# $Id$
 # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
 # Contributor: Jan de Groot <jgc at archlinux.org>
 
 pkgname=gnome-sudoku
-pkgver=3.28.0+6+g46f2f85
+pkgver=3.30.0
 pkgrel=1
 pkgdesc="Test your logic skills in this number grid puzzle"
 url="https://wiki.gnome.org/Apps/Sudoku"
@@ -10,10 +9,10 @@
 arch=(x86_64)
 license=(GPL)
 depends=(dconf gtk3 qqwing libgee json-glib)
-makedepends=(intltool itstool vala yelp-tools autoconf-archive appstream-glib git)
+makedepends=(vala yelp-tools autoconf-archive appstream-glib git meson)
 groups=(gnome-extra)
-_commit=46f2f854549439955fc4075a9c61123164219ba0  # gnome-3-28
-source=("git+https://git.gnome.org/browse/gnome-sudoku#commit=$_commit")
+_commit=dbaef3dc05bc4d9b75cb7fdee87627a6090d9c13  # tags/3.30.0^0
+source=("git+https://gitlab.gnome.org/GNOME/gnome-sudoku.git#commit=$_commit")
 sha256sums=('SKIP')
 
 pkgver() {
@@ -23,26 +22,17 @@
 
 prepare() {
   cd $pkgname
-
-  git tag -f 3.24.0 4a2a4dd7308e4152869d1f7846eda51d59283049
-
-  # Work around aclocal exiting with "too many loops"
-  mkdir m4
-  cp /usr/share/aclocal/ax_require_defined.m4 m4
-
-  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() {
+  meson test -C build
+}
+
 package() {
-  cd $pkgname
-  make DESTDIR="$pkgdir" install
-
-  sed -i 's_#! /usr/bin/python_#!/usr/bin/python2_' "$pkgdir/usr/bin/gnome-sudoku"
+  DESTDIR="$pkgdir" meson install -C build
 }


Property changes on: gnome-sudoku/trunk/PKGBUILD
___________________________________________________________________
Deleted: svn:keywords
## -1 +0,0 ##
-Id
\ No newline at end of property



More information about the arch-commits mailing list