2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-11-16 19:50:13 -07:00
repo/extra/glib/build

18 lines
314 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"