df-raw-language-server: lsp for DwarfFortress raws

This commit is contained in:
Lilian Jónsdóttir 2023-11-24 18:11:20 -08:00
parent 007d1b7063
commit 63d9625104
2 changed files with 26 additions and 0 deletions

View file

@ -19,6 +19,8 @@ cp -vr srcpkgs/* $HOME/void-packages/srcpkgs
- v0.5.0 - https://github.com/ekzhang/bore
- curlie - The power of curl, the ease of use of httpie.
- v1.7.2 - https://github.com/rs/curlie
- df-raw-language-server - Language server for Dwarf Fortress RAW files
- v0.4.1 - https://gitlab.com/df-modding-tools/df-raw-language-server
- doas-sudo-shim - Sudo shim for doas
- v0.1.1 - https://github.com/jirutka/doas-sudo-shim
- findex - Findex is an application finder written in Rust that uses GTK3

View file

@ -0,0 +1,24 @@
# Template file for 'df-raw-language-server'
pkgname=df-raw-language-server
version=0.4.1
revision=1
build_style=cargo
configure_args="--manifest-path df_language_server/Cargo.toml --bin df_language_server"
make_install_args="--path df_language_server"
short_desc="Language server for Dwarf Fortress RAW files"
maintainer="Lilian Jónsdóttir <lilian.jonsdottir@gmail.com>"
license="Apache-2.0"
homepage="https://gitlab.com/df-modding-tools/df-raw-language-server"
distfiles="${homepage}/-/archive/v${version}/${pkgname}-v${version}.tar.gz"
checksum=0c2200793816bdee3e7de703e5f17ec2a1bf3ade5a546a3081a9f8b02275f900
# copied from build-style/cargo.sh but removed ${configure_args}
do_install() {
: ${make_cmd:=cargo auditable}
${make_cmd} install --target ${RUST_TARGET} --root="${DESTDIR}/usr" \
--offline --locked ${make_install_args}
rm -f "${DESTDIR}"/usr/.crates.toml
rm -f "${DESTDIR}"/usr/.crates2.json
}