# Description: Low-level data structure handling, portability wrappers, and interfaces for runtime functionality # URL: https://www.gtk.org/ # Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu # Depends on: libffi-32 libpcre-32 python-32 util-linux-32 glib name=glib-32 version=2.58.3 release=1 source=(https://download.gnome.org/sources/glib/${version:0:4}/${name%-*}-$version.tar.xz) build() { cd ${name%-*}-$version ./autogen.sh ./configure \ --prefix=/usr \ --libdir=/usr/lib32 \ --disable-man \ --with-pcre=system \ --with-runtime-libdir=../../lib32 \ --with-gio-module-dir=/lib32/gio/modules make make -j 1 DESTDIR=$PKG install rm -rf $PKG/usr/share/{gtk-doc,locale} rm -rf $PKG/usr/share/bash_completion rm -rf $PKG/usr/{bin,include,share} }