Add fennel-language-server

This commit is contained in:
Alexander Rosenberg 2022-11-30 08:31:29 -08:00
parent 22f2736edd
commit 3909f66a90
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

@ -0,0 +1,26 @@
# Maintainer: Alexander Rosenberg <zanderpkg at pm dot me>
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"
}