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

Jan Steffens heftig at archlinux.org
Fri Mar 15 21:10:37 UTC 2019


    Date: Friday, March 15, 2019 @ 21:10:36
  Author: heftig
Revision: 348374

3.32.0-1

Modified:
  gnome-klotski/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-15 21:10:22 UTC (rev 348373)
+++ PKGBUILD	2019-03-15 21:10:36 UTC (rev 348374)
@@ -2,7 +2,7 @@
 # Contributor: Jan de Groot <jgc at archlinux.org>
 
 pkgname=gnome-klotski
-pkgver=3.22.3+1+gf33083d
+pkgver=3.32.0
 pkgrel=1
 pkgdesc="Slide blocks to solve the puzzle"
 url="https://wiki.gnome.org/Apps/Klotski"
@@ -9,10 +9,10 @@
 arch=(x86_64)
 license=(GPL)
 depends=(gtk3 librsvg libgnome-games-support)
-makedepends=(intltool itstool gobject-introspection yelp-tools appstream-glib vala git)
+makedepends=(meson gobject-introspection yelp-tools appstream-glib vala git)
 groups=(gnome-extra)
 _commit=590defbc2b42cbf31901505aefbfef37c7f1f2fc  # tags/3.32.0^0
-source=("git+https://git.gnome.org/browse/gnome-klotski#commit=$_commit")
+source=("git+https://gitlab.gnome.org/GNOME/gnome-klotski.git#commit=$_commit")
 sha256sums=('SKIP')
 
 pkgver() {
@@ -22,17 +22,17 @@
 
 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() {
+  meson test -C build
+}
+
 package() {
-  cd $pkgname
-  make DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" meson install -C build
 }



More information about the arch-commits mailing list