zls: update to 0.13.0

This commit is contained in:
tranzystorekk 2024-07-08 09:02:02 +02:00
parent de264e5071
commit d03992b721
1 changed files with 7 additions and 12 deletions

View File

@ -1,27 +1,22 @@
# Template file for 'zls'
pkgname=zls
version=0.10.0
version=0.13.0
revision=1
build_style=zig-build
configure_args="-Dpie"
short_desc="Zig language server"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/zigtools/zls"
_known_folders_gitrev="d13ba6137084e55f873f6afb67447fe8906cc951"
_tracy_gitrev="f493d4aa8ba8141d9680473fad007d8a6348628e"
_tracy_gitrev="37aff70dfa50cf6307b3fee6074d627dc2929143"
distfiles="https://github.com/zigtools/zls/archive/refs/tags/${version}.tar.gz
https://github.com/ziglibs/known-folders/archive/${_known_folders_gitrev}.tar.gz
https://github.com/wolfpld/tracy/archive/${_tracy_gitrev}.tar.gz"
checksum="ad8c16721a10a55b759f0cd63243301565b948b1d48075e1fda89ccf264a2bdf
1fa1c5cb7da6c2ba76ae3c52602ce525ccbbf5741d1ca9c4d2687ff10333a0cf
84577b79a36566a777eec3cf2b596920a0c1d7b6c216d941c04ef967a727b041"
skip_extraction="${_known_folders_gitrev}.tar.gz ${_tracy_gitrev}.tar.gz"
checksum="2e8046b6b0de765a4bf4bb828345e2badc8b828bc257dc931d0f56b147684d9f
c24ce6179df7efb8a114fe409d197e26e4b937c6fc1258bea15840b15b1f79ff"
skip_extraction="${_tracy_gitrev}.tar.gz"
post_extract() {
bsdtar xzf "$XBPS_SRCDISTDIR/$pkgname-$version/$_known_folders_gitrev.tar.gz" \
--strip-components=1 -C "$wrksrc/src/known-folders"
bsdtar xzf "$XBPS_SRCDISTDIR/$pkgname-$version/$_tracy_gitrev.tar.gz" \
--strip-components=1 -C "$wrksrc/src/tracy"
vsrcextract -C src/tracy ${_tracy_gitrev}.tar.gz
}
post_install() {