#!/bin/mkpkg
# description: JSON library built on top of GLib
# url: https://gitlab.gnome.org/GNOME/json-glib

name=json-glib
version=1.10.8
_minor=1.10
release=1
depends=(glib)
makedeps=(meson samurai pkgconf python3 gettext-tiny)
source=(https://download.gnome.org/sources/$name/$_minor/$name-$version.tar.xz)
sha256sums=(
    "55c5c141a564245b8f8fbe7698663c87a45a7333c2a2c56f06f811ab73b212dd"
)

build() {
    cd $name-$version
    meson setup build \
        --prefix=/usr \
        --buildtype=release \
        --wrap-mode=nodownload \
        -Dman=false \
        -Dintrospection=disabled \
        -Dtests=false
    meson compile -C build
    meson install -C build --destdir $PKG
}

signify() {
    untrusted comment: public key
    RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
}

# vim: filetype=sh
