2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-25 00:30:06 -07:00
repo/xorg/xinit/build
2021-07-03 20:31:18 +00:00

15 lines
264 B
Bash
Executable File

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