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"

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="
1b089b56042cf7a139f9df25d200cbef6de06140fdb24658f71eab39b49b740f3c1480df34ed097a472a64f5019b993b20c85db52892ea4a56fe81fcfe4d2d04  xev-1.2.3.tar.xz
"
