app=xf86-input-libinput
version=0.30.0
build=1sml
homepage="https://xorg.freedesktop.org/"
download="https://xorg.freedesktop.org/releases/individual/driver/xf86-input-libinput-$version.tar.bz2"
desc="Generic input driver for the X.Org server based on libinput"
requires="libx11 libxi libinput xorg-server"

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="
3b46ebdb400600343790f54996f8120b945e8b6502643cdc1e9772a7a505c7939c6e3a1eebe89c9964e859f16d922d5eda85fb788674c940a7ce3b3e69d11fcb  xf86-input-libinput-0.30.0.tar.xz
"
