# Maintainer: PktSurf <smlinux@pktsurf.in>
app=xkbcomp
version=1.4.2
build=1sml
homepage="https://xorg.freedesktop.org/"
download="https://xorg.freedesktop.org/archive/individual/app/xkbcomp-$version.tar.bz2"
desc="X Keyboard description compiler"
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="
4a0fcf12917f4e548ae294a8105e3cc0f4e3d3ee47a941bba0b28dfd713ca3f2c11e7082cff0ecdd11d72e347c6e05f68c0530722a2caa8dbf39e5080233cb8e  xkbcomp-1.4.2.tar.lz
"
