2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-11-15 19:20:10 -07:00
repo/wayland/sway/build
Dylan Araps 288463043c
sway: keep manual pages. See #273
NOTE: They're only kept if scdoc is installed. This is the first
step towards a more complete solution.
2021-07-12 20:27:20 +03:00

29 lines
544 B
Bash
Executable File

#!/bin/sh -e
patch -p1 < no-evdev.patch
# Default background color.
sed 's/0.25f, 0.25f, 0.25f/0.929, 0.870, 0.678/' \
sway/desktop/render.c > _
mv -f _ sway/desktop/render.c
export DESTDIR="$1"
meson \
--prefix=/usr \
-Dexamples=false \
-Dxwayland=disabled \
-Dx11-backend=disabled \
-Dxcb-errors=disabled \
-Dxcb-icccm=disabled \
. build
ninja -C build
ninja -C build install
rm -rf \
"$1/usr/share/fish" \
"$1/usr/share/bash-completion" \
"$1/usr/share/backgrounds" \
"$1/usr/share/zsh"