1#!/bin/sh -e
2
3patch -p1 < 0001-util-remove-malloc-stats.patch
4
5export DESTDIR="$1"
6export PKG_CONFIG_PATH=/usr/lib/pkgconfig
7
8muon setup \
9 -Dprefix=/usr \
10 -Dbuildtype=release \
11 -Db_colorout=never \
12 -Dtee=enabled \
13 -Dxcb=disabled \
14 -Dxlib=disabled \
15 -Dxlib-xcb=disabled \
16 -Dtests=disabled \
17 -Ddefault_library=shared \
18 build
19
20samu -C build
21muon -C build install