summaryrefslogtreecommitdiffstats
path: root/json-glib/MAKEPKG
blob: 997426790e222ff17b1d1be9b0e5b514a8f4bd64 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/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