2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-21 23:00:06 -07:00
repo/xorg/xinit/build
2020-02-10 11:28:59 +02:00

13 lines
242 B
Bash
Executable File

#!/bin/sh -e
./configure \
--prefix=/usr \
--with-xinitdir=/etc/X11/xinit
make
make DESTDIR="$1" install
# Make xauth optional.
sed -i 's#enable_xauth=1#command -v xauth >/dev/null \&\&&||enable_xauth=0#' \
"$1/usr/bin/startx"