APP=xinput
VERSION=1.6.3
BUILD=1sml
HOMEPAGE="https://xorg.freedesktop.org/"
DOWNLOAD="https://xorg.freedesktop.org/releases/individual/app/xinput-1.6.3.tar.bz2"
DESC="Small commandline tool to configure devices"
REQUIRES="libxi libxinerama"

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

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

  ./configure \
    --prefix="" 

  make
  make install DESTDIR=$PKG

  cp COPYING $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
ba5b34a4601d9e1859ad580a5743976f2f5f20bcf5acb56563f62d6c80b39ce3e16023c0994a57af40c59779a8d344775addef43c6d294d2ac2ec98e5668e034  xinput-1.6.3.tar.lz
"
