app=xmodmap
version=1.0.10
build=1sml
homepage="https://xorg.freedesktop.org/"
download="https://xorg.freedesktop.org/releases/individual/app/xmodmap-$version.tar.bz2"
desc="Utility for modifying keymaps and button mappings"
requires="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="
4b54cb0689909623c1103dcad204a16d9c690babaf07e7b9c09e31b42e8fa93ff4eb58ecff554e0fbfc3b2b7e64ece6a282002bd15d5fd5b06cb3100a2b64261  xmodmap-1.0.10.tar.lz
"
