aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Joldasov <bratishkaerik@getgoogleoff.me>2023-02-05 17:56:01 +0600
committerEric Joldasov <bratishkaerik@getgoogleoff.me>2023-02-05 17:56:10 +0600
commit33eb55c86bb93bebc9bec123f3e47671142033cf (patch)
tree9171dfd8e23629de99ea00608b42501a64815c7c /dev-zig
parentdev-python/restrictedpython: new package, add 6.0 (diff)
downloadguru-33eb55c86bb93bebc9bec123f3e47671142033cf.tar.gz
guru-33eb55c86bb93bebc9bec123f3e47671142033cf.tar.bz2
guru-33eb55c86bb93bebc9bec123f3e47671142033cf.zip
dev-zig/zls: update to latest master Zig
Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me>
Diffstat (limited to 'dev-zig')
-rw-r--r--dev-zig/zls/zls-9999.ebuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/dev-zig/zls/zls-9999.ebuild b/dev-zig/zls/zls-9999.ebuild
index bbb09a80b..b61f8139d 100644
--- a/dev-zig/zls/zls-9999.ebuild
+++ b/dev-zig/zls/zls-9999.ebuild
@@ -8,7 +8,7 @@ inherit git-r3
EGIT_REPO_URI="https://github.com/zigtools/zls"
HOMEPAGE="https://github.com/zigtools/zls"
-DESCRIPTION="Zig LSP implementation + Zig Language Server"
+DESCRIPTION="The officially unofficial Ziglang language server"
LICENSE="MIT"
SLOT="0"
@@ -17,23 +17,22 @@ DEPEND="~dev-lang/zig-9999"
RDEPEND="${DEPEND}"
# see https://github.com/ziglang/zig/issues/3382
-# For now, Zig doesn't support CFLAGS/LDFLAGS/etc.
+# For now, Zig Build System doesn't support CFLAGS/LDFLAGS/etc.
QA_FLAGS_IGNORED="usr/bin/zls"
src_compile() {
- zig build -Drelease-safe -Ddata_version=master --verbose || die
+ zig build -Doptimize=ReleaseSafe -Ddata_version=master --verbose || die
}
src_test() {
- zig build test -Drelease-safe -Ddata_version=master --verbose || die
+ zig build test -Doptimize=ReleaseSafe -Ddata_version=master --verbose || die
}
src_install() {
- DESTDIR="${ED}" zig build install --prefix /usr -Drelease-safe -Ddata_version=master --verbose || die
+ DESTDIR="${ED}" zig build install --prefix /usr -Doptimize=ReleaseSafe -Ddata_version=master --verbose || die
dodoc README.md
}
pkg_postinst() {
- elog "For creating or updating config run this command: zls --config"
elog "You can find more information about options here https://github.com/zigtools/zls#configuration-options"
}