app=libxcb
version=1.14
build=1sml
homepage="https://xcb.freedesktop.org/"
download="https://www.x.org/releases/individual/lib/libxcb-$version.tar.xz"
desc="X11 client-side library"
requires="python3 libxslt libxau libxdmcp"

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

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

  ./configure \
    --prefix="/" \
    --disable-static \
    --disable-devel-docs \
    --without-doxygen

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
a91990c800f92b235bf576847f1c72651fe63f6abfea19678c778c6c0dc99d9200d3f623140a48787de47d4b8cb9ff6820f75827e2289e8ac4a3ba3ba8b6784e  libxcb-1.14.tar.lz
"
