[arch-commits] Commit in lib32-json-glib/trunk (PKGBUILD)
Jan Steffens
heftig at gemini.archlinux.org
Tue Aug 17 22:20:21 UTC 2021
Date: Tuesday, August 17, 2021 @ 22:20:21
Author: heftig
Revision: 1002754
1.6.4-1
Modified:
lib32-json-glib/trunk/PKGBUILD (contents, properties)
----------+
PKGBUILD | 29 +++++++++++++++++------------
1 file changed, 17 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-08-17 21:57:23 UTC (rev 1002753)
+++ PKGBUILD 2021-08-17 22:20:21 UTC (rev 1002754)
@@ -2,7 +2,7 @@
# Contributor: Jameson Pugh <imntreal at gmail.com>
pkgname=lib32-json-glib
-pkgver=1.6.2
+pkgver=1.6.4
pkgrel=1
pkgdesc='JSON library built on GLib'
arch=(x86_64)
@@ -16,7 +16,7 @@
git
meson
)
-_tag=667e2f35bd161fc74832b2a69d6294f583de361d
+_tag=0e318b4e3be43278435c636891e0c840591be705
source=(git+https://gitlab.gnome.org/GNOME/json-glib.git#tag=${_tag})
sha256sums=(SKIP)
@@ -26,23 +26,28 @@
git describe --tags
}
-build(){
+build() {
export CC='gcc -m32'
- export PKG_CONFIG_PATH=/usr/lib32/pkgconfig
+ export PKG_CONFIG=i686-pc-linux-gnu-pkg-config
arch-meson json-glib build \
--libdir=/usr/lib32 \
- --libexecdir=/usr/lib32 \
-D gtk_doc=disabled \
- -D introspection=disabled \
- -D man=false \
- -D tests=false
- ninja -C build
+ -D introspection=disabled
+ meson compile -C build
}
-package(){
- DESTDIR="${pkgdir}" ninja -C build install
- rm -rf "${pkgdir}"/usr/{bin,include,share}
+check() {
+ meson test -C build --print-errorlogs
}
+package() {
+ depends+=(libg{lib,object,io}-2.0.so)
+ provides+=(libjson-glib-1.0.so)
+
+ meson install -C build --destdir "${pkgdir}"
+
+ rm -rf "${pkgdir}"/usr/{bin,include,lib,share}
+}
+
# vim: ts=2 sw=2 et:
Property changes on: lib32-json-glib/trunk/PKGBUILD
___________________________________________________________________
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
More information about the arch-commits
mailing list