void-packages/srcpkgs/typst-lsp/template

23 lines
640 B
Bash

# Template file for 'typst-lsp'
pkgname=typst-lsp
version=0.9.5
revision=1
build_style=cargo
configure_args="--no-default-features --features remote-packages,native-tls"
hostmakedepends="pkg-config"
makedepends="openssl-devel"
short_desc="Language server for Typst"
maintainer="classabbyamp <void@placeviolette.net>"
license="Apache-2.0, MIT"
homepage="https://github.com/nvarner/typst-lsp"
distfiles="https://github.com/nvarner/typst-lsp/archive/refs/tags/v${version}.tar.gz"
checksum=f4d01289753db844ae4ee4d4eba80df8ab174917dfc0829c781a8b173caab7cc
post_patch() {
cargo generate-lockfile
}
post_install() {
vlicense LICENSE-MIT.txt
}