summaryrefslogtreecommitdiff
path: root/repo/mm-common/mm-common.xibuild
blob: ca7faa2b9df205bedd5d41a8330f5b20e6b186f7 (plain)
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
#!/bin/sh

NAME="mm-common"
DESC="Build infrastructure and utilities for GNOME C++ binding libraries"

MAKEDEPS=""

PKG_VER=1.0.5
SOURCE="https://github.com/GNOME/mm-common/archive/$PKG_VER.tar.gz"
ADDITIONAL="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/libstdc++.tag"

prepare() {
	cp libstdc++.tag doctags/
}

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

package() {
    DESTDIR=$PKG_DEST ninja install
}