[arch-commits] Commit in lib32-json-glib/repos/multilib-x86_64 (PKGBUILD PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Wed Sep 19 11:38:48 UTC 2018
Date: Wednesday, September 19, 2018 @ 11:38:47
Author: alucryd
Revision: 383392
archrelease: copy trunk to multilib-x86_64
Added:
lib32-json-glib/repos/multilib-x86_64/PKGBUILD
(from rev 383391, lib32-json-glib/trunk/PKGBUILD)
Deleted:
lib32-json-glib/repos/multilib-x86_64/PKGBUILD
----------+
PKGBUILD | 82 ++++++++++++++++++++++++-------------------------------------
1 file changed, 33 insertions(+), 49 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-09-19 11:38:39 UTC (rev 383391)
+++ PKGBUILD 2018-09-19 11:38:47 UTC (rev 383392)
@@ -1,49 +0,0 @@
-# $Id$
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: Jameson Pugh <imntreal at gmail.com>
-
-pkgname=lib32-json-glib
-pkgver=1.4.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' 'meson')
-source=("https://ftp.gnome.org/pub/GNOME/sources/json-glib/${pkgver%.*}/json-glib-${pkgver}.tar.xz")
-sha256sums=('2d7709a44749c7318599a6829322e081915bdc73f5be5045882ed120bb686dc8')
-
-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:
Copied: lib32-json-glib/repos/multilib-x86_64/PKGBUILD (from rev 383391, lib32-json-glib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-09-19 11:38:47 UTC (rev 383392)
@@ -0,0 +1,33 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Jameson Pugh <imntreal at gmail.com>
+
+pkgname=lib32-json-glib
+pkgver=1.4.4
+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=('git' 'gobject-introspection' 'meson')
+source=("git+https://gitlab.gnome.org/GNOME/json-glib.git#tag=${pkgver}")
+sha256sums=('SKIP')
+
+build(){
+ export CC='gcc -m32'
+ export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+
+ meson json-glib build \
+ --buildtype='release' \
+ --prefix='/usr' \
+ --libdir='/usr/lib32' \
+ --libexecdir='/usr/lib32'
+ ninja -C build
+}
+
+package(){
+ DESTDIR="${pkgdir}" ninja -C build 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