2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-07-02 22:12:27 +00: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