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

NAME="gtkmm3"
DESC="C++ wrappers for GTK+"

MAKEDEPS="meson ninja "
DEPS="atkmm cairomm gdk-pixbuf glib glibmm gtk3 libsigc++ musl pangomm "

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

build () {
    cd build    &&
    meson --prefix=/usr \
            -Dbuild-demos=false \
            .. &&
    ninja
}

package () {
    DESTDIR=$PKG_DEST ninja install
}