2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-24 00:10:05 -07:00
repo/extra/glib/build

21 lines
356 B
Plaintext
Raw Normal View History

2019-07-23 07:16:17 -06:00
#!/bin/sh -e
2019-08-18 03:32:44 -06:00
# Remove 'libelf' dependency.
sed -i'' 's/if have_libelf/if not have_libelf/' gio/meson.build
2019-07-23 07:16:17 -06:00
meson \
--prefix=/usr \
-Dman=false \
-Dfam=false \
-Dnls=disabled \
. build
ninja -C build
DESTDIR="$1" ninja -C build install
2019-08-18 18:45:05 -06:00
# Remove unneeded files.
2019-08-20 13:15:12 -06:00
rm -rf "$1/usr/share/gettext"
2019-10-03 13:24:57 -06:00
# Purge gdbus.
rm -rf "$1/usr/bin/gdbus"