app=vala
version=0.46.6
build=1sml
homepage="https://wiki.gnome.org/Projects/Vala"
download="https://gitlab.gnome.org/GNOME/vala/-/archive/$version/vala-$version.tar.bz2"
desc="Compiler for the GObject type system"
requires="libxslt glib libx11 dbus"

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

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

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

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
d8a4eadd0bc8ce70ad69247a235a5155abb239d5b9b7379a522c95ca61c8f086bfa81c7edb3f6c25457f994b5c87e840d095a2e84e74511d75c52a0609384b16  vala-0.46.6.tar.lz
"
