From 3909f66a90db0ff319a89f7a033fac58f6cba834 Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Wed, 30 Nov 2022 08:31:29 -0800 Subject: [PATCH] Add fennel-language-server --- Arch/fennel-language-server/PKGBUILD | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Arch/fennel-language-server/PKGBUILD diff --git a/Arch/fennel-language-server/PKGBUILD b/Arch/fennel-language-server/PKGBUILD new file mode 100644 index 0000000..d9c8e6e --- /dev/null +++ b/Arch/fennel-language-server/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Alexander Rosenberg + +pkgname=fennel-language-server +pkgver=50 +pkgrel=1 +pkgdesc='Fennel language server protocol (LSP) support.' +url='https://github.com/rydesun/fennel-language-server' +arch=('x86_64') +license=('MIT') +depends=('rust') +source=('git+https://github.com/rydesun/fennel-language-server.git') +sha256sums=('SKIP') + +pkgver(){ + cd "$pkgname" + git rev-list --count HEAD +} + +build() { + cd "$pkgname" + cargo build --release +} + +package() { + install -Dt "$pkgdir/usr/bin/" "$pkgname/target/release/fennel-language-server" +}