APP=xkbcomp
VERSION=1.4.2
BUILD=1sml
HOMEPAGE="https://xorg.freedesktop.org/"
DOWNLOAD="https://xorg.freedesktop.org/archive/individual/app/xkbcomp-1.4.2.tar.bz2"
DESC="X Keyboard description compiler"
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="
4a0fcf12917f4e548ae294a8105e3cc0f4e3d3ee47a941bba0b28dfd713ca3f2c11e7082cff0ecdd11d72e347c6e05f68c0530722a2caa8dbf39e5080233cb8e  xkbcomp-1.4.2.tar.lz
"
