APP=vala
VERSION=0.46.6
BUILD=1sml
HOMEPAGE="https://wiki.gnome.org/Projects/Vala"
DOWNLOAD="https://gitlab.gnome.org/GNOME/vala/-/archive/0.46.6/vala-0.46.6.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
"
