repo/xorg-xorgproto/build
2021-07-18 20:24:08 +03:00

15 lines
380 B
Text
Executable file

wget https://xorg.freedesktop.org/archive/individual/proto/xorgproto-2021.4.tar.bz2
tar -xf xorgproto-2021.4.tar.bz2
cd xorgproto-2021.4
export XORG_PREFIX="/usr"
export XORG_CONFIG="--prefix=$XORG_PREFIX --sysconfdir=/etc \
--localstatedir=/var --disable-static"
export DESTDIR="$1"
mkdir build
cd build
meson --prefix=$XORG_PREFIX -Dlegacy=true ..
ninja
ninja install