NAME="libxxf86dga"
DESC="X11 direct graphics access extension library"
VERSION="1.1.6"
FILES=("https://www.x.org/pub/individual/lib/libXxf86dga-1.1.6.tar.xz")
HASHES=("74d1acf93b83abeb0954824da0ec400b")
DEPENDS=()

PACKAGE() {
  tar xf libXxf86dga-$VERSION.tar.xz
  cd libXxf86dga-$VERSION

  ./configure --prefix=/usr --sysconfdir=/etc \
     --localstatedir=/var --disable-static --docdir=/usr/share/doc/$NAME-$VERSION 
  make && make DESTDIR=${ROOTDIR} install

  cd .. && rm -rf libXxf86dga-$VERSION
}
