summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorBen Iofel2020-03-08 00:15:07 -0500
committerBen Iofel2020-03-08 00:15:09 -0500
commitdecd913ea2d5254e92c768f8f09483ac763f84c8 (patch)
treeeffa84892b306706ae774e945ce2734461e424b1 /PKGBUILD
downloadaur-decd913ea2d5254e92c768f8f09483ac763f84c8.tar.gz
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD36
1 files changed, 36 insertions, 0 deletions
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
+}
+