2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-23 07:40:11 -07:00
repo/extra/glib/build
2019-08-20 19:15:12 +00:00

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