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-2.30/xkeyboard-config-xkeyboard-config-2.30.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
"
