#!/bin/sh -e
export DESTDIR="$1"
# Fix build fail with GCC 10.
export CFLAGS="$CFLAGS -fcommon"
meson \
--prefix=/usr \
. output
ninja -C output
ninja -C output install