APP=libx11
VERSION=1.7.1
BUILD=1sml
HOMEPAGE="https://xorg.freedesktop.org/"
DOWNLOAD="https://www.x.org/releases/individual/lib/libX11-1.7.1.tar.bz2"
DESC="X11 client-side library"
REQUIRES="xorgproto xorg-macros xtrans libxcb "

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

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

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

  make
  make install DESTDIR=$PKG

  cp COPYING $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
a76f0a82fce6f9b50646a7cd7ec5ee046650f225816050226068a7548fa083ef07d146d40faaf44e033c59c17b0fda5ffdee3a127dac3ab56cee02133819aa3d  libX11-1.7.1.tar.bz2
"
