summaryrefslogtreecommitdiff
path: root/repo/system/json-glib/json-glib.xibuild
blob: ce9f0b552118dcf5cb35fd50419c1e8111d27680 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

NAME="json-glib"
DESC="JSON library built on GLib"

MAKEDEPS="meson ninja "
DEPS="glib musl "

PKG_VER=1.6.6
SOURCE="https://download.gnome.org/sources/json-glib/${PKG_VER%.*}/json-glib-$PKG_VER.tar.xz"

build () {
    mkdir build &&
    cd build    &&
    meson --prefix=/usr \
        -Dgtk_doc=disabled \
            .. &&
    ninja
}

package () {
    DESTDIR=$PKG_DEST ninja install
}