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

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="
d9aa282b2d68abf3a76deb7af33043f4ae3fd6ab2f3500876592e140d3abcc44679c6290d77557c587e5ac898f9b4f8e744517550ed820276f8df3213e7a3c58  xcb-util-image-0.4.0.tar.lz
"
