APP=xcb-util
VERSION=0.4.0
BUILD=1sml
HOMEPAGE="https://xcb.freedesktop.org/"
DOWNLOAD="https://xcb.freedesktop.org/dist/xcb-util-0.4.0.tar.bz2"
DESC="Utility libraries for XC Binding"
REQUIRES="gperf libxcb"

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

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

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

  make
  make install DESTDIR=$PKG

  cp COPYING $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
e60aaa6f582eacd05896c5fd7c8417938318a1288146f3a5b339f77eed24e211c6099963f8813daa621c94173d2934228936b491c0ed79b09a8a67d835867d0e  xcb-util-0.4.0.tar.bz2
"
