repo/xorg-server/PACKAGE

26 lines
529 B
Bash

#!/bin/sh
pkg_ver="todo"
pkg_install(){
git clone https://cgit.freedesktop.org/xorg/xserver/
cd xserver
./configure \
--prefix=/usr \
--localstatedir=/var \
--disable-systemd-logind \
--disable-xwayland \
--disable-unit-tests \
--enable-glx \
--enable-dri \
--enable-dri2 \
--enable-dri3 \
--enable-glamor \
--enable-xorg \
--with-sha1=libcrypto \
--with-systemd-daemon=off
make
make install DESTDIR="${PREFIX}"
}
pkg_uninstall(){
make uninstall
}