APP=xf86-video-ati
VERSION=19.1.0
BUILD=1sml
HOMEPAGE="https://xorg.freedesktop.org/"
DOWNLOAD="https://xorg.freedesktop.org/releases/individual/driver/xf86-video-ati-19.1.0.tar.bz2"
DESC="X.org ati video driver"
REQUIRES="mesa xorg-server llvm"

build() {
  compileonlyfor x86_64 
  mkandenterbuilddir
  rm -rf $APP-$VERSION

  tar xf $SRCDIR/$APP-$VERSION.tar.?z*
  cd $APP-$VERSION
  fixbuilddirpermissions

  ./configure \
    --prefix="" \
    --sysconfdir=/etc \
    --enable-glamor 

  make
  make install DESTDIR=$PKG

  cp COPYING $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
e21ca9bf1527d8bf7ccb90011a35ded474c5113ca461a9ea8d7e3862da1c266b717ba510c079fd1a7c7d7193cc694c55f848be49d357f87cc700641695e138e2  xf86-video-ati-19.1.0.tar.xz
"
