Skip to content
Snippets Groups Projects
Commit 5d97a669 authored by Matthias Ahouansou's avatar Matthias Ahouansou Committed by Patrycja Rosa
Browse files

testing/typos-lsp: new aport

parent 99d241e3
No related branches found
No related tags found
1 merge request!81374testing/typos-lsp: new aport
Pipeline #307817 canceled
# Contributor: Matthias Ahouansou <matthias@ahouansou.cz>
maintainer="Matthias Ahouansou <matthias@ahouansou.cz>"
pkgname=typos-lsp
pkgver=0.1.35
pkgrel=0
pkgdesc="Source code spell checker for Visual Studio Code and LSP clients"
url="https://github.com/tekumara/typos-lsp"
arch="all"
license="MIT"
makedepends="cargo-auditable"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/tekumara/typos-lsp/archive/refs/tags/v$pkgver.tar.gz"
options="net" # cargo packages
prepare() {
default_prepare
cargo fetch --target="$CTARGET" --locked
}
check() {
cargo test --frozen
}
build() {
cargo auditable build --release --frozen
}
package() {
install -Dm755 target/release/typos-lsp -t "$pkgdir"/usr/bin
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
}
sha512sums="
95127cd1dda06abfa989566682f50d8c916fe5bcdd29bcf83a14d7294913d5dce2a7382a00aa040fdebb9499b36654a78b91100352d40413f96fdc141cca0baf typos-lsp-0.1.35.tar.gz
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment