# Maintainer: PktSurf <smlinux@pktsurf.in>
app=xev
version=1.2.3
build=1sml
homepage="https://xorg.freedesktop.org/"
download="https://xorg.freedesktop.org/archive/individual/app/xev-$version.tar.bz2"
desc="Print contents of X events"
requires="libxrandr libx11"

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="
f26125da6684df598b47e33bbdcf559c09e1e1317a099c9e00c4541dc852d85930552f56222221ea2d8bfe29dd8be86bb9deac3c57be7aa8d183d25f8870f43a  xev-1.2.3.tar.lz
"
