makedepends=(font-bh-ttf xorg-server xorg-xkbcomp xorg-xkeyboard-config xorg-xauth xorg-xrdb xorg-xmodmap xorg-xf86-input-evdev xorg-twm xorg-term xorg-xclock dbus-x11)
run=(font-bh-ttf xorg-server xorg-xkbcomp xorg-xkeyboard-config xorg-xauth xorg-xrdb xorg-xmodmap xorg-xf86-input-evdev xorg-twm xorg-term xorg-xclock dbus-x11)

description="The xinit package contains a usable script to start the xserver."
url="https://xorg.freedesktop.org/"

packager="Great-OS Team"
maintainer="rems"

name=xorg-xinit
_name=xinit
version=1.4.4
release=1

source=(https://www.x.org/releases/individual/app/${_name}-$version.tar.xz)

build() {
  cd ${_name}-$version
  ./configure --prefix=/usr \
                --sysconfdir=/etc \
                --localstatedir=/var \
                --with-xinitdir=/etc/X11/xinit

  make
  make DESTDIR=$PKG install
}
