# Maintainer: PktSurf <smlinux@pktsurf.in>
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"

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="
d41ccc1f75652de204a3ac046fe8d93e98181899c67873b83396ed32972152216b6da5a60dc96dc24e8460fac76b962d845450531523c40174d57d303554f376  xcb-util-wm-0.4.1.tar.lz
"
