New package: asm-lsp-0.10.0

This commit is contained in:
Mihail Ivanchev 2024-05-30 10:25:51 +02:00 committed by Duncan Overbruck
parent 908c83993e
commit e1e8890500

27
srcpkgs/asm-lsp/template Normal file
View file

@ -0,0 +1,27 @@
# Template file for 'asm-lsp'
pkgname=asm-lsp
version=0.10.0
revision=1
build_style=cargo
hostmakedepends="pkg-config"
makedepends="openssl-devel libzstd-devel"
short_desc="Language server for NASM/GAS/GO Assembly"
maintainer="Mihail Ivanchev <contact@ivanchev.net>"
license="BSD-2-Clause"
homepage="https://github.com/bergercookie/asm-lsp"
changelog="https://github.com/bergercookie/asm-lsp/releases"
distfiles="https://github.com/bergercookie/asm-lsp/archive/refs/tags/v${version}.tar.gz"
checksum=4755848aa7d88856be7e40d0930990b95b46c4593a53db3809d3ba7214d9d16d
do_install() {
# Manual install due to an "found a virtual manifest at ... instead of a package manifest"
# error.
cargo auditable install --target ${RUST_TARGET} --root="${DESTDIR}/usr" \
--offline --locked --path asm-lsp
rm -f "${DESTDIR}"/usr/.crates.toml
rm -f "${DESTDIR}"/usr/.crates2.json
}
post_install() {
vlicense LICENSE
}