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

MAKEDEPS="meson ninja patch flex"
DEPS="python-mako python-markdown glib"

PKG_VER=1.72.0
SOURCE=https://download.gnome.org/sources/gobject-introspection/$(echo $PKG_VER | cut -d. -f-2)/gobject-introspection-$PKG_VER.tar.xz

DESC="Introspection system for GObject-based libraries"

build () {
    mkdir build &&
    cd    build &&

    meson --prefix=/usr --buildtype=release .. &&
    ninja
}

package () {
    DESTDIR=$PKG_DEST ninja install
}