repo/extra/glib/build
2019-11-18 00:58:51 +00:00

19 lines
285 B
Bash
Executable File

#!/bin/sh -e
export DESTDIR="$1"
# Remove 'libelf' dependency.
sed -i 's/if have_libelf/if not have_libelf/' gio/meson.build
meson \
--prefix=/usr \
-Dman=false \
-Dfam=false \
. build
ninja -C build
ninja -C build install
# Purge gdbus.
rm -rf "$1/usr/bin/gdbus"