diff options
Diffstat (limited to 'dev-zig')
-rw-r--r-- | dev-zig/zls/zls-9999.ebuild | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/dev-zig/zls/zls-9999.ebuild b/dev-zig/zls/zls-9999.ebuild index b61f8139d..267e3221a 100644 --- a/dev-zig/zls/zls-9999.ebuild +++ b/dev-zig/zls/zls-9999.ebuild @@ -20,6 +20,13 @@ RDEPEND="${DEPEND}" # For now, Zig Build System doesn't support CFLAGS/LDFLAGS/etc. QA_FLAGS_IGNORED="usr/bin/zls" +src_unpack() { + git-r3_src_unpack + cd "${S}" || die + # "zig build" doesn't have "fetch" subcommand yet + zig build --help || die "Fetching Zig modules failed" +} + src_compile() { zig build -Doptimize=ReleaseSafe -Ddata_version=master --verbose || die } |