# Maintainer: PktSurf <smlinux@pktsurf.in>
app=xinput
version=1.6.3
build=1sml
homepage="https://xorg.freedesktop.org/"
download="https://xorg.freedesktop.org/releases/individual/app/xinput-$version.tar.bz2"
desc="Small commandline tool to configure devices"
requires="libxi libxinerama"

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

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

build() {
  ./configure \
    --prefix=

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

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