# Contributor: Rasmus Thomsen # Maintainer: Rasmus Thomsen pkgname=vala-language-server pkgver=0.48_alpha3 pkgrel=0 pkgdesc="Code Intelligence for Vala" url="https://github.com/benwaffle/vala-language-server" arch="all" license="LGPL-2.1-or-later" makedepends="meson vala json-glib-dev glib-dev libgee-dev jsonrpc-glib-dev" source="https://github.com/benwaffle/vala-language-server/releases/download/${pkgver/_/-}/vala-language-server-${pkgver/_/-}.tar.xz" builddir="$srcdir/vala-language-server-${pkgver/_/-}" build() { meson \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --buildtype=plain \ -Ddefault_library=shared \ . output ninja -C output } check() { ninja -C output test } package() { DESTDIR="$pkgdir" ninja -C output install } sha512sums="fe3f3fe4de5e898d6cfd7d7c3a3dafa425aa7a3c65f7d0033d3910bfea0248f1bcc9c2948732b8fad820bbfe3a824ca904dfd2eb5a46d2137218de4e4830c754 vala-language-server-0.48-alpha3.tar.xz"