master hovercats/oakiss / repo / libxkbcommon / build
 1#!/bin/sh -e
 2
 3export DESTDIR="$1"
 4export PKG_CONFIG_PATH=/usr/lib/pkgconfig
 5
 6# byacc is only installed as yacc
 7sed 's/byacc/yacc/g' meson.build > _
 8mv -f _ meson.build
 9
10muon setup \
11	-Dprefix=/usr \
12	-Dlibexecdir=/usr/lib \
13	-Dbuildtype=release \
14	-Db_colorout=never \
15	-Ddefault_library=both \
16	-Denable-docs=false \
17	-Denable-wayland=true \
18	-Denable-x11=false \
19	-Denable-xkbregistry=false \
20	-Denable-bash-completion=false \
21	build
22
23samu -C build
24muon -C build install
25
26# Compress manpages
27find "$1/usr/share/man" -type f -exec gzip -n -9 {} +