APP=libxext
VERSION=1.3.4
BUILD=1sml
HOMEPAGE="https://xorg.freedesktop.org/"
DOWNLOAD="https://www.x.org/releases/individual/lib/libXext-1.3.4.tar.bz2"
DESC="X11 miscellaneous extensions library"
REQUIRES="libx11"

build() {
  mkandenterbuilddir
  rm -rf libXext-$VERSION

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

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

  make
  make install DESTDIR=$PKG

  cp COPYING $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
a3a52bb1002f59e91bcfa2d9fbf312ab7505bc4c7a69d7f8372856f527ca35bb6c4d5903bcd56e52ed513fcf19762fd6f1c1f8f0e9cc611c459d79216af03e5c  libXext-1.3.4.tar.lz
"
