# Maintainer: PktSurf <smlinux@pktsurf.in>
app=xf86-video-vesa
version=2.4.0
build=1sml
homepage="https://xorg.freedesktop.org/"
download="https://xorg.freedesktop.org/releases/individual/driver/xf86-video-vesa-$version.tar.bz2"
desc="X.org vesa video driver"
requires="xorg-server"

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="
29aee5c6e8a0c066136c8a9e91f7eaadd52c906eba15fae64c5cb33d4288c6a324df3c11127bf5eaae4ae48dfbf523a1d086bde098b3079b9d77820b1b4b49ba  xf86-video-vesa-2.4.0.tar.lz
"
