# Maintainer: PktSurf <smlinux@pktsurf.in>
app=libxcb
version=1.15
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"

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

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

build() {
  ./configure \
    --prefix=/ \
    --disable-static \
    --disable-devel-docs \
    --without-doxygen

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
fcd3c6a07f04f5dde47102fe62455170f1b263f4478e196d47cd7796ad062220524034207b46cb53ab8b182c9c4d413738494c5b60d9c964a757764447c0982b  libxcb-1.15.tar.lz
"
