aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2020-04-12 13:57:54 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-04-12 12:00:47 +0000
commit2338ae52a383729046c5d094846ea13fd86c86ec (patch)
treefcdd9b7babe40010acedfd3a5edff9265bd45a90
parentb35ce936c6eec939d414b11502c01948a999d00a (diff)
downloadaports-2338ae52a383729046c5d094846ea13fd86c86ec.tar.gz
aports-2338ae52a383729046c5d094846ea13fd86c86ec.tar.bz2
aports-2338ae52a383729046c5d094846ea13fd86c86ec.tar.xz
testing/vala-language-server: new aport
https://github.com/benwaffle/vala-language-server Code Intelligence for Vala
-rw-r--r--testing/vala-language-server/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/vala-language-server/APKBUILD b/testing/vala-language-server/APKBUILD
new file mode 100644
index 0000000000..4eabf806eb
--- /dev/null
+++ b/testing/vala-language-server/APKBUILD
@@ -0,0 +1,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"