# Maintainer: PktSurf <smlinux@pktsurf.in>
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"

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="
d6a600e21c7672a7e80834a020586f2fa2267eee78b07fea9fe5b729f9184cdb0cdd2871d81e0a1a0411c891cb89080339f8252f56722486640825900f0e05a5  xf86-input-libinput-0.30.0.tar.lz
"
