# Maintainer: PktSurf <smlinux@pktsurf.in>
app=xf86-input-keyboard
version=1.9.0
build=1sml
homepage="https://xorg.freedesktop.org/"
download="https://xorg.freedesktop.org/releases/individual/driver/xf86-input-keyboard-$version.tar.bz2"
desc="Xorg generic keyboard 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="
6f3a6489f9465e629a082e35f987cbde10ee82b61f2098ab9d6e53e5733c03169a4b5f48af7f1870137e70f796424cd4a2d180571b3cba727d1d29e4a9ae4144  xf86-input-keyboard-1.9.0.tar.lz
"
