# Maintainer: PktSurf <smlinux@pktsurf.in>
app=xcb-util-cursor
version=0.1.3
build=1sml
homepage="https://xcb.freedesktop.org/"
download="https://xcb.freedesktop.org/dist/xcb-util-cursor-$version.tar.bz2"
desc="XCB cursor library"
requires="libxcb xcb-util-renderutil xcb-util-image"

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="
fed8ee4e3ad26ab46342340a1fd40aa3e3cac9d05e348dd99bf303abc05c737948f0ee29ca0e2cc74db18a53d1116d6b10c10bb0b1af9bbfb973ee0fa64fac76  xcb-util-cursor-0.1.3.tar.lz
"
