# Maintainer: PktSurf <smlinux@pktsurf.in>
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"

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="
73a3909aab49b0e58509c244243d206e7a405ae97ca7aaf5f9da5a88e802108d9fc1769b0fea96580cd14236236a4e976745f437fa5c5bc0fea44cb5647ab144  setxkbmap-1.3.2.tar.lz
"
