added package kak-lsp
This commit is contained in:
parent
fb8578593e
commit
3d3a575032
1 changed files with 24 additions and 0 deletions
24
pkgs/kak-lsp/build.sh
Normal file
24
pkgs/kak-lsp/build.sh
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
pkgname=kak-lsp
|
||||||
|
pkgver=9.0.0
|
||||||
|
|
||||||
|
fetch() {
|
||||||
|
curl -L "https://github.com/kak-lsp/kak-lsp/archive/v$pkgver.tar.gz" -o $pkgname-$pkgver.tar.xz
|
||||||
|
tar -xf $pkgname-$pkgver.tar.xz
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd $pkgname-$pkgver
|
||||||
|
cargo build --release --locked --all-features
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd $pkgname-$pkgver
|
||||||
|
install -Dm755 target/release/$pkgname $pkgdir/usr/bin/
|
||||||
|
install -Dm644 rc/lsp.kak $pkgdir/usr/share/kak-lsp/rc/
|
||||||
|
install -Dm644 kak-lsp.toml $pkgdir/usr/share/kak-lsp/examples/
|
||||||
|
}
|
||||||
|
|
||||||
|
license() {
|
||||||
|
cd $pkgname-$pkgver
|
||||||
|
cat UNLICENSE
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue