mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-13 11:19:50 +03:00
https://github.com/texel-sensei/commit-lsp LSP Server for providing linting and autocompletion inside of git commit messages.
38 lines
942 B
Text
38 lines
942 B
Text
# Contributor: Marian Buschsieweke <marian.buschsieweke@posteo.net>
|
|
# Maintainer: Marian Buschsieweke <marian.buschsieweke@posteo.net>
|
|
pkgname=commit-lsp
|
|
pkgver=0.1.0
|
|
pkgrel=0
|
|
pkgdesc="LSP Server for providing linting and autocompletion inside of git commit messages"
|
|
url="https://github.com/texel-sensei/commit-lsp"
|
|
arch="all"
|
|
license="GPL-3.0-only"
|
|
makedepends="
|
|
cargo
|
|
cargo-auditable
|
|
openssl-dev
|
|
rust
|
|
"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/texel-sensei/commit-lsp/archive/refs/tags/v$pkgver.tar.gz"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
|
|
cargo fetch --target="$CTARGET" --locked
|
|
}
|
|
|
|
build() {
|
|
cargo auditable build --release --frozen
|
|
}
|
|
|
|
check() {
|
|
cargo test --frozen
|
|
}
|
|
|
|
package() {
|
|
install -Dm755 target/release/commit-lsp "$pkgdir/usr/bin/commit-lsp"
|
|
}
|
|
|
|
sha512sums="
|
|
fac7fc6479f72aac2f051bd047aaeccf8fe6df1d3d518eb681091f697a01684517ecd47f5f8dda47f53b8e6345ff69606108f47767d89cb9ab3dcd8c82700e52 commit-lsp-0.1.0.tar.gz
|
|
"
|