app=libxfixes
version=5.0.3
build=1sml
homepage="https://xorg.freedesktop.org/"
download="https://www.x.org/releases/individual/lib/libXfixes-$version.tar.bz2"
desc="X11 miscellaneous 'fixes' extension library"
requires="libx11"

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

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

  CFLAGS="$CFLAGS -DHAVE__XEATDATAWORDS=1" \
  ./configure \
    --prefix="" \
    --disable-static 

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
9730e0f53730453d0df02083d54bd6e130bf5604deed09a53171fb9b0e56094e7e48cb1adf7d063f95f352fd975c953948119a20e96a9874aadd8da4ad6f305e  libXfixes-5.0.3.tar.lz
"
