# Maintainer: PktSurf <smlinux@pktsurf.in>
app=xcb-util-renderutil
version=0.3.9
build=1sml
homepage="https://xcb.freedesktop.org/"
download="https://xcb.freedesktop.org/dist/xcb-util-renderutil-$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="
c083ebcba8fd39a326fffbc41c25a03e7305e2dfe7908f7956991ac1c856278402bb27b5cf36d972bc6af501f110aad1f3ef78c73db61b0f5ff13d5c7ad314c2  xcb-util-renderutil-0.3.9.tar.lz
"
