app=libxxf86vm
version=1.1.4
build=1sml
homepage="https://xorg.freedesktop.org/"
download="https://www.x.org/releases/individual/lib/libXxf86vm-$version.tar.bz2"
desc="X11 XFree86 video mode extension library"
requires="libxext"

build() {
  mkandenterbuilddir
  rm -rf libXxf86vm-$version

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

  ./configure \
    --prefix="" \
    --disable-static 

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
18de33728488fcca36a6b3f15e4dd3b6b141500aed5c77c007d1dc4cc934a1a25a4e9a3c3b5d0260a46f7e7cc791c1e8f765ee1a50e984680ca8e1703847dd03  libXxf86vm-1.1.4.tar.lz
"
