summaryrefslogtreecommitdiff
path: root/repo/glibmm/glibmm.xibuild
blob: 68ec03ba3614b3bcc5cfd5bd4ed1c62e6c5d4eee (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="glibmm"
DESC="C++ wrapper for the GLib toolkit"

MAKEDEPS="meson ninja glib libgcc libsigc++ musl mm-common"

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

build () {
    mkdir build
    cd build    &&
    meson --prefix=/usr \
            -Db_lto=true \
            -Dbuild-documentation=true \
            .. &&
    ninja
}

package () {
    DESTDIR=$PKG_DEST ninja install
}