APP=libxi
VERSION=1.7.10
BUILD=1sml
HOMEPAGE="https://xorg.freedesktop.org/"
DOWNLOAD="https://www.x.org/releases/individual/lib/libXi-1.7.10.tar.bz2"
DESC="X11 Input extension library"
REQUIRES="xorgproto xorg-macros libxext libxfixes"

build() {
  mkandenterbuilddir
  rm -rf libXi-$VERSION

  tar xf $SRCDIR/libXi-$VERSION.tar.?z*
  cd libXi-$VERSION
  fixbuilddirpermissions

  ./configure \
    --prefix="" \
    --disable-static 

  make
  make install DESTDIR=$PKG

  cp COPYING $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
967e21109b9f2b38008b82ddeb4faa3416d8f1f6c329e773fd424e7dbac198fa940252434a6741098129d241ac86777c55c29fd9eb6e0d8c36fa39b3fd51e070  libXi-1.7.10.tar.lz
"
