#Packager: George Vlahavas pkgname=json-glib pkgver=1.6.6 pkgrel=1slint source=("json-glib-1.6.6.tar.xz") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url=http://live.gnome.org/JsonGlib slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "json-glib (serialization/deserialization support for the JSON format)" "JSON-GLib is a library providing serialization and deserialization" "support for the JavaScript Object Notation (JSON) format described by" "RFC 4627." ) build() { cd $startdir/src/$pkgname-$pkgver mkdir -p build cd build meson --prefix=/usr \ --buildtype=release \ --localstatedir=/var \ --libdir=lib${LIBDIRSUFFIX} \ --mandir=/usr/man \ ../ ninja DESTDIR=$PKG ninja install cd .. mkdir -p $startdir/pkg/usr/doc/${pkgname}-$pkgver/ # Make links to the documentation in /usr/share/gtk-doc/: ln -s $startdir/pkg/usr/share/gtk-doc/html/$pkgname \ $startdir/pkg/usr/doc/${pkgname}-$pkgver/html }