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

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
2703f150dc214307a5cc8d27cf57a4a34a530cc3fe6c39b9e2b0371edcd7a9995e7b3ddd973fd3be135dc779769cd3f4e26ae42e85fdffafeaf721556e596329  xf86-input-mouse-1.9.3.tar.lz
"
