# Maintainer: PktSurf <smlinux@pktsurf.in>
app=xf86-input-evdev
version=2.10.6
build=1sml
homepage="https://xorg.freedesktop.org/"
download="https://xorg.freedesktop.org/releases/individual/driver/xf86-input-evdev-$version.tar.bz2"
desc="X.org evdev input driver"
requires="libevdev mtdev xorg-server"

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

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

build() {
  ./configure \
    --prefix= \
    --disable-selective-werror 

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
edc381bc6d78092cdcedbbe2b741f3a171a848f799825b18cb0920fcd48f1d7624be35264008691e3bd5956f95d043b83a15f58f2d670e352c0fb6cc8eb27cda  xf86-input-evdev-2.10.6.tar.lz
"
