# Maintainer: PktSurf <smlinux@pktsurf.in>
app=xinit
version=1.4.1
build=1sml
homepage="https://xorg.freedesktop.org/"
download="https://xorg.freedesktop.org/releases/individual/app/xinit-$version.tar.bz2"
desc="X.Org initialisation program"
requires="libx11 xorg-server xrdb xauth"

prepbuilddir() {
  mkandenterbuilddir
  rm -rf $app-$version

  tar xf $srcdir/$app-$version.tar.?z*
  cd $app-$version
  fixbuilddirpermissions
}

build() {
  ./configure \
    --prefix="" 

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
9977c77564751729702e4f9e59471de21aadb685b824e2f4742d9e7114b6ef1054c574003df25f5a39d6fa4eaa1935cf1bbc2c85f4b22eefdb1ef421696b390b  xinit-1.4.1.tar.lz
"
