# Maintainer: PktSurf <smlinux@pktsurf.in>
app=xcb-util
version=0.4.0
build=1sml
homepage="https://xcb.freedesktop.org/"
download="https://xcb.freedesktop.org/dist/xcb-util-$version.tar.bz2"
desc="Utility libraries for XC Binding"
requires="gperf libxcb"

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

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

build() {

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

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
18278806f7fc354daafd2cd53d9743c6afe41a225b1e67a62654a7f779bbcb78a92e261d1553019e2c47150029262ac1f99ac2df1d4b95d2decc5fb3d7f52fed  xcb-util-0.4.0.tar.lz
"