summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Iofel2020-03-08 00:15:07 -0500
committerBen Iofel2020-03-08 00:15:09 -0500
commitdecd913ea2d5254e92c768f8f09483ac763f84c8 (patch)
treeeffa84892b306706ae774e945ce2734461e424b1
downloadaur-decd913ea2d5254e92c768f8f09483ac763f84c8.tar.gz
Initial commit
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD36
2 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..509668cfe3b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = vala-language-server-git
+ pkgdesc = Language Server for Vala
+ pkgver = VERSION
+ pkgrel = 1
+ url = https://github.com/benwaffle/vala-language-server
+ arch = x86_64
+ license = LGPL-2.1
+ makedepends = git
+ depends = libgee
+ depends = jsonrpc-glib
+ depends = vala
+ depends = meson
+ provides = vala-language-server
+ conflicts = vala-language-server
+ source = git+https://github.com/benwaffle/vala-language-server.git
+ sha256sums = SKIP
+
+pkgname = vala-language-server-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..7c0f15d7616
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: benwaffle <vala@iofel.me>
+# Maintainer: Prince781 <princetonferro@gmail.com>
+pkgname=vala-language-server-git
+pkgver=r264.881da9e8
+pkgrel=1
+pkgdesc='Language Server for Vala'
+arch=('x86_64')
+url="https://github.com/benwaffle/vala-language-server"
+license=('LGPL-2.1')
+depends=('libgee' 'jsonrpc-glib' 'vala' 'meson')
+makedepends=('git')
+provides=("${pkgname%-git}")
+conflicts=("${pkgname%-git}")
+source=(git+${url}.git)
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/${pkgname%-git}"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+#prepare() {
+# cd "$srcdir/${pkgname%-git}"
+#}
+
+build() {
+ cd "$srcdir/${pkgname%-git}"
+ meson build --buildtype=release
+ ninja -C build
+}
+
+package() {
+ cd "$srcdir/${pkgname%-git}"
+ DESTDIR="${pkgdir}" ninja -C build install
+}
+