# Template file for 'typst-lsp'
pkgname=typst-lsp
version=0.9.0
revision=1
build_style=cargo
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=fbebdff828c9f4be6899e4e8884f9d46ac5f5b5de17fda45df7dbb4d79b51f30

post_patch() {
	cargo generate-lockfile
}

post_install() {
	vlicense LICENSE-MIT.txt
}
