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"

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

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

  ./configure \
    --prefix="" \
    --disable-selective-werror 

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
c5a161ac02ab6f2ee051df91ed2d7c7e23c621e6ccd4e733a14f3bdd1020c137f6263ea8f27bebbba57ecb70dfa8e907bbab98d0bef2d0ed4a0366b3f9e69780  xf86-input-evdev-2.10.6.tar.xz
"
