app=xcb-util-wm
version=0.4.1
build=1sml
homepage="https://xcb.freedesktop.org/"
download="https://xcb.freedesktop.org/dist/xcb-util-wm-$version.tar.bz2"
desc="Utility libraries for XC Binding"
requires="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="
cd1b3bcf9fcfc52e329ddc42b370d50dcf7d473c8e94f01cf7ea7fdbe0dc9176790890214eecb2a8ac43405f4938c121e38d282ae988cd8e90a6610d214ef326  xcb-util-wm-0.4.1.tar.bz2
"
