build-scripts/arch/fennel-language-server/PKGBUILD

27 lines
574 B
Bash

# 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"
}