2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-23 15:50:06 -07:00
repo/extra/glib/build
2019-10-03 22:24:57 +03:00

21 lines
356 B
Bash
Executable File

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