# Maintainer: PktSurf <smlinux@pktsurf.in>
app=vala
version=0.54.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"

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

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

build() {
  ./configure \
    --prefix="" \
    --disable-valadoc

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
ead6b93be67fbff65fdd882a462bcbffec629ec6d37ddc06ea0937e2257dd6f9e4d54cccedd54ed269b7acb044f33877d8b9b80470c3cc56c016861bea8a6456  vala-0.54.6.tar.lz
"
