Add fennel-language-server
This commit is contained in:
parent
22f2736edd
commit
3909f66a90
26
Arch/fennel-language-server/PKGBUILD
Normal file
26
Arch/fennel-language-server/PKGBUILD
Normal 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"
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user