aboutsummaryrefslogtreecommitdiff
path: root/xorg/xinit/build
blob: 6931a02425b4d6607b2ae651aa9879516980b89a (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh -e

./configure \
    --prefix=/usr \
    --with-xinitdir=/etc/X11/xinit

make
make DESTDIR="$1" install

sed 's/enable_xauth=1/enable_xauth=0/' "$1/usr/bin/startx" > startx.bak && mv startx.bak "$1/usr/bin/startx"