# Contributor: Rasmus Thomsen # Contributor: Natanael Copa # Maintainer: Rasmus Thomsen pkgname=vala pkgver=0.44.5 pkgrel=0 pkgdesc="Compiler for the GObject type system" url="https://wiki.gnome.org/Projects/Vala" arch="all" license="LGPL-2.0-or-later" subpackages="$pkgname-doc" depends="glib-dev" makedepends="libxslt-dev bash flex bison gobject-introspection-dev graphviz-dev automake autoconf libtool" checkdepends="dbus-x11" source="https://download.gnome.org/sources/vala/${pkgver%.*}/vala-$pkgver.tar.xz version.patch" prepare() { cd "$builddir" default_prepare # https://gitlab.gnome.org/GNOME/vala/issues/809 sed '/array-uint8-uchar-compat.vala/d' -i tests/Makefile.am autoreconf --install --force } build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr make } check() { cd "$builddir" make check } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="898ed675e0bdfac1ca2367363f6a5b930f021b3b6bc848314b8c1d43f37a312abfc54492eaa5e35f0d83b5b688fe27e5555ea46f1aba89a92cde7e6e8173d4fe vala-0.44.5.tar.xz 2c999fb516dd6ed74cb05307c0725bb20d6112cd1a2427a742a9856e1167fe39f9a71253f4dd9d0f53a88a9f29229063e53262b8257f60a71d0cfb168e3f7eb8 version.patch"