app=libxkbfile
version=1.1.0
build=1sml
homepage="https://xorg.freedesktop.org/"
download="https://www.x.org/releases/individual/lib/libxkbfile-$version.tar.bz2"
desc="X11 keyboard file manipulation library"
requires="libx11"

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

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

  ./configure \
    --prefix="" \
    --disable-static 

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
05b8ff46d14a14f7f6d7f23d4039b15c2bdb59a656e447a4a9dcda1fdb8d730d509b22a102dbe0321b8ea0c5ae5f12ba02cdd61753b906762fd817306fadfc96  libxkbfile-1.1.0.tar.lz
"
