app=setxkbmap
version=1.3.2
build=1sml
homepage="https://xorg.freedesktop.org/"
download="https://xorg.freedesktop.org/releases/individual/app/setxkbmap-$version.tar.bz2"
desc="Set the keyboard using the X Keyboard Extension"
requires="libxkbfile"

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="
ec73f70bd0db7983870467adfc70de46ed15dfce13e02bbd513d968556bc20cbac87518c111228866b63dca0fb0df56d59aad9f7793fb75cd660c97d0475906c  setxkbmap-1.3.2.tar.xz
"
