mirror of
https://codeberg.org/kiss-community/repo
synced 2024-08-25 15:26:20 +00:00
15 lines
264 B
Bash
Executable File
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
|
|
|