mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
35 lines
883 B
Plaintext
35 lines
883 B
Plaintext
# Contributor: Siva Mahadevan <me@svmhdvn.name>
|
|
# Maintainer: Siva Mahadevan <me@svmhdvn.name>
|
|
pkgname=kakoune-lsp
|
|
pkgver=17.1.2
|
|
pkgrel=0
|
|
pkgdesc="Kakoune Language Server Protocol Client"
|
|
url="https://github.com/kakoune-lsp/kakoune-lsp"
|
|
arch="all !s390x !riscv64" # limited by cargo
|
|
license="Unlicense OR MIT"
|
|
makedepends="cargo cargo-auditable"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/kakoune-lsp/kakoune-lsp/archive/refs/tags/v$pkgver.tar.gz"
|
|
|
|
|
|
prepare() {
|
|
default_prepare
|
|
|
|
cargo fetch --target="$CTARGET" --locked
|
|
}
|
|
|
|
build() {
|
|
cargo auditable build --frozen --release
|
|
}
|
|
|
|
check() {
|
|
cargo test --frozen --release
|
|
}
|
|
|
|
package() {
|
|
cargo auditable install --locked --path . --root="$pkgdir/usr"
|
|
}
|
|
|
|
sha512sums="
|
|
597cd7eb213924e283f75b025dcacd18321c3ee55c8c4bd0cc269ee462df8b86c788af8f5710fb6a1adf34799396b03adaf08d9d94e3c83f57c6460bf96eeb88 kakoune-lsp-17.1.2.tar.gz
|
|
"
|