2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-11-15 03:00:10 -07:00
repo/wayland/libseat/build

19 lines
375 B
Plaintext
Raw Normal View History

2021-07-08 01:48:47 -06:00
#!/bin/sh -e
2021-07-12 05:18:22 -06:00
# Build fails in with clang due to
# -Werror -> -Wsign-compare.
export CFLAGS="-Wno-error $CFLAGS"
2021-07-08 01:48:47 -06:00
meson \
--prefix=/usr \
-Ddefault_library=both \
. build
ninja -C build
ninja -C build install
2021-07-13 02:54:47 -06:00
# Install runit service.
mkdir -p "$1/etc/sv/seatd"
cp -f seatd.run "$1/etc/sv/seatd/run"
ln -sf /run/runit/supervise.seatd "$1/etc/sv/seatd/supervise"