From 7944a1bc4093509d76a267e2118293bba7ac50fb Mon Sep 17 00:00:00 2001 From: tranzystorekk Date: Sat, 8 Mar 2025 01:01:09 +0100 Subject: [PATCH] zls: update to 0.14.0 --- srcpkgs/zls/template | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/srcpkgs/zls/template b/srcpkgs/zls/template index 887475ed8d2..1bbde7372a4 100644 --- a/srcpkgs/zls/template +++ b/srcpkgs/zls/template @@ -1,23 +1,19 @@ # Template file for 'zls' pkgname=zls -version=0.13.0 +version=0.14.0 revision=1 build_style=zig-build -configure_args="-Dpie" short_desc="Zig language server" maintainer="Orphaned " license="MIT" homepage="https://github.com/zigtools/zls" -_tracy_gitrev="37aff70dfa50cf6307b3fee6074d627dc2929143" -distfiles="https://github.com/zigtools/zls/archive/refs/tags/${version}.tar.gz - https://github.com/wolfpld/tracy/archive/${_tracy_gitrev}.tar.gz" -checksum="2e8046b6b0de765a4bf4bb828345e2badc8b828bc257dc931d0f56b147684d9f - c24ce6179df7efb8a114fe409d197e26e4b937c6fc1258bea15840b15b1f79ff" -skip_extraction="${_tracy_gitrev}.tar.gz" +distfiles="https://github.com/zigtools/zls/archive/refs/tags/${version}.tar.gz" +checksum=44cae74073b2f75cf627755398afadafaa382cccf7555b5b66b147dcaa6cef0d -post_extract() { - vsrcextract -C src/tracy ${_tracy_gitrev}.tar.gz -} +case "${XBPS_TARGET_MACHINE}" in + armv[67]*) nopie=yes ;; + *) configure_args+=" -Dpie" ;; +esac post_install() { vlicense LICENSE