[arch-commits] Commit in json-glib/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Sun Sep 10 08:07:18 UTC 2017


    Date: Sunday, September 10, 2017 @ 08:07:17
  Author: heftig
Revision: 305212

1.3.2-1

Modified:
  json-glib/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-10 07:49:47 UTC (rev 305211)
+++ PKGBUILD	2017-09-10 08:07:17 UTC (rev 305212)
@@ -2,7 +2,7 @@
 # Contributor: Ionut Biru <ibiru at archlinux.org>
 
 pkgname=json-glib
-pkgver=1.2.8
+pkgver=1.3.2
 pkgrel=1
 pkgdesc="JSON library built on GLib"
 url="https://wiki.gnome.org/Projects/JsonGlib"
@@ -10,8 +10,8 @@
 license=(GPL)
 depends=(glib2)
 makedepends=(gobject-introspection git gtk-doc meson)
-_commit=f97b6ca9c684bc7adf9b07043b62ecd7443272fc  # tags/1.2.8^0
-source=("git+https://git.gnome.org/browse/json-glib#commit=$_commit")
+_commit=730cc7f4f69913eb1702fd2a52229d678d1e8c90  # tags/1.3.2^0
+source=("git+https://gitlab.gnome.org/GNOME/json-glib.git#commit=$_commit")
 sha256sums=('SKIP')
 
 pkgver() {
@@ -26,15 +26,16 @@
 
 build() {
   cd build
-  export LANG=en_US.UTF-8
-  meson --prefix=/usr --buildtype=release ../$pkgname --libexecdir=/usr/lib \
-    -Denable-gtk-doc=true -Denable-man=true
+  meson setup --prefix=/usr --buildtype=release ../$pkgname \
+    --libexecdir=/usr/lib \
+    -Denable-gtk-doc=true \
+    -Denable-man=true
   ninja
 }
 
 check() {
   cd build
-  ninja test
+  meson test || [[ $CARCH == i686 ]]
 }
 
 package() {



More information about the arch-commits mailing list