app=xkeyboard-config
version=2.30
build=1sml
homepage="https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config"
download="https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/archive/xkeyboard-config-$version/xkeyboard-config-xkeyboard-config-$version.tar.bz2"
desc="X keyboard configuration files"
requires="intltool libxslt xkbcomp"

build() {
  mkandenterbuilddir
  rm -rf $app-$version

  tar xf $srcdir/$app-$version.tar.?z*
  cd $app-$version
  fixbuilddirpermissions

  ./configure \
    --prefix="" \
    $builddist

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
32ba00424c808cdfe7ee4adb67efcfb19c2aa89af68f013f8b798cb5b508fab8d76653d4b32bf253f3788d28232e469eeaf3393dffb520d219405c86e0824466  xkeyboard-config-2.30.tar.lz
"
