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

27 lines
574 B
Bash
Raw Normal View History

2022-11-30 08:31:29 -08:00
# Maintainer: Alexander Rosenberg <zanderpkg at pm dot me>
pkgname=fennel-language-server
2023-04-20 22:47:16 -07:00
pkgver=54
2022-11-30 08:31:29 -08:00
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"
}