[arch-commits] Commit in lib32-json-glib/repos/multilib-x86_64 (PKGBUILD PKGBUILD)

Maxime Gauduin alucryd at archlinux.org
Mon May 8 20:03:57 UTC 2017


    Date: Monday, May 8, 2017 @ 20:03:56
  Author: alucryd
Revision: 227381

archrelease: copy trunk to multilib-x86_64

Added:
  lib32-json-glib/repos/multilib-x86_64/PKGBUILD
    (from rev 227380, lib32-json-glib/trunk/PKGBUILD)
Deleted:
  lib32-json-glib/repos/multilib-x86_64/PKGBUILD

----------+
 PKGBUILD |   86 ++++++++++++++++++++++++++++++++++---------------------------
 1 file changed, 49 insertions(+), 37 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-05-08 20:03:49 UTC (rev 227380)
+++ PKGBUILD	2017-05-08 20:03:56 UTC (rev 227381)
@@ -1,37 +0,0 @@
-# $Id$
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: Jameson Pugh <imntreal at gmail.com>
-
-pkgname=lib32-json-glib
-pkgver=1.2.2
-pkgrel=1
-pkgdesc='JSON library built on GLib'
-arch=('x86_64')
-url='https://wiki.gnome.org/Projects/JsonGlib'
-license=('GPL')
-depends=('json-glib' 'lib32-glib2')
-makedepends=('gobject-introspection' 'python2')
-source=("https://ftp.gnome.org/pub/GNOME/sources/json-glib/${pkgver%.*}/json-glib-${pkgver}.tar.xz")
-sha256sums=('ea128ab52a824fcd06e5448fbb2bd8d9a13740d51c66d445828edba71321a621')
-
-build(){
-  cd json-glib-${pkgver}
-
-  export CC='gcc -m32'
-  export CXX='g++ -m32'
-  export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
-
-  ./configure \
-    --prefix='/usr' \
-    --libdir='/usr/lib32'
-  make
-}
-
-package(){
-  cd json-glib-${pkgver}
-
-  make DESTDIR="${pkgdir}" install
-  rm -rf "${pkgdir}"/usr/{bin,include,share}
-}
-
-# vim: ts=2 sw=2 et:

Copied: lib32-json-glib/repos/multilib-x86_64/PKGBUILD (from rev 227380, lib32-json-glib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-05-08 20:03:56 UTC (rev 227381)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Jameson Pugh <imntreal at gmail.com>
+
+pkgname=lib32-json-glib
+pkgver=1.2.8
+pkgrel=1
+pkgdesc='JSON library built on GLib'
+arch=('x86_64')
+url='https://wiki.gnome.org/Projects/JsonGlib'
+license=('GPL')
+depends=('json-glib' 'lib32-glib2')
+makedepends=('gobject-introspection' 'meson')
+source=("https://ftp.gnome.org/pub/GNOME/sources/json-glib/${pkgver%.*}/json-glib-${pkgver}.tar.xz")
+sha256sums=('fd55a9037d39e7a10f0db64309f5f0265fa32ec962bf85066087b83a2807f40a')
+
+prepare() {
+  if [[ -d build ]]; then
+    rm -rf build
+  fi
+  mkdir build
+}
+
+build(){
+  cd build
+
+  export CC='gcc -m32'
+  export CXX='g++ -m32'
+  export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+
+  export LANG='en_US.UTF-8'
+  export LANGUAGE='en_US'
+
+  meson ../json-glib-${pkgver} \
+    --buildtype='release' \
+    --prefix='/usr' \
+    --libdir='/usr/lib32' \
+    --libexecdir='/usr/lib32'
+  ninja
+}
+
+package(){
+  cd build
+
+  DESTDIR="${pkgdir}" ninja install
+  rm -rf "${pkgdir}"/usr/{bin,include,lib32/installed-tests,share}
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list