blob: 4eabf806eb779b7631796180037fa735729c39c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
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"
|