# Maintainer: PktSurf <smlinux@pktsurf.in>
app=libxcursor
version=1.2.0
build=1sml
homepage="https://xorg.freedesktop.org/"
download="https://www.x.org/releases/individual/lib/libXcursor-$version.tar.bz2"
desc="X cursor management library"
requires="libxfixes libxrender"

prepbuilddir() {
  mkandenterbuilddir
  rm -rf libXcursor-$version

  tar xf $srcdir/libXcursor-$version.tar.?z*
  cd libXcursor-$version
  fixbuilddirpermissions
}

build() {
  ./configure \
    --prefix="" \
    --disable-static 

  make
  make install DESTDIR=$pkg
 
  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
522d789f466f3f592e9e5b875daf9b6beb9b01615dd853c016e7f8f5fe982a47d13852bbe7a532cfbdbdb144a002ca3ff0e481ac04847f06a2931c151ea201d4  libXcursor-1.2.0.tar.lz
"
