Package Details: zig-bin 0.14.1-2

Git Clone URL: https://aur.archlinux.org/zig-bin.git (read-only, click to copy)
Package Base: zig-bin
Description: a general-purpose programming language and toolchain for maintaining robust, optimal, and reusable software
Upstream URL: https://ziglang.org/
Licenses: MIT
Conflicts: zig
Provides: zig
Submitter: eNV25
Maintainer: eNV25
Last Packager: eNV25
Votes: 13
Popularity: 2.16
First Submitted: 2023-08-08 08:07 (UTC)
Last Updated: 2025-06-04 04:36 (UTC)

Dependencies (0)

Required by (111)

Sources (5)

Latest Comments

1 2 Next › Last »

ingvij commented on 2025-05-26 10:39 (UTC) (edited on 2025-05-26 10:40 (UTC) by ingvij)

Simple patch to fix the PKGBUILD (not that adding $srcdir was necessary, just makes things clearer. The real fix is swapping the position of $zigarch as noted below)

diff --git a/PKGBUILD b/PKGBUILD
index c08f782..8622efd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -25,7 +25,7 @@ package() {
    *) return 1 ;;
    esac

-   cd "zig-linux-$zigarch-$pkgver"
+   cd "$srcdir/zig-$zigarch-linux-$pkgver"

    install -Dm755 -t "$pkgdir/usr/bin/" zig

gus_joaquin commented on 2025-05-26 03:47 (UTC)

cd "zig-$zigarch-linux-$pkgver"

it just works

pparaxan commented on 2025-05-25 19:52 (UTC) (edited on 2025-05-25 19:52 (UTC) by pparaxan)

Problem at line 28 of PKGBUILD: cd "zig-linux-$zigarch-$pkgver"

https://github.com/ziglang/zig/issues/23977

hugoarnal commented on 2025-05-25 15:32 (UTC) (edited on 2025-05-25 15:32 (UTC) by hugoarnal)

Problem at line 28 of PKGBUILD: cd "zig-linux-$zigarch-$pkgver"

Zig version 0.14.1 changed from zig-linux-... to zig-...-linux

eNV25 commented on 2025-05-25 14:45 (UTC) (edited on 2025-05-25 14:45 (UTC) by eNV25)

@vitaliikuzhdin I read somewhere that 32-bit x86 Zig requires SSE. I'm now sure if that's the case anymore, I can't find the source.

vitaliikuzhdin commented on 2025-05-12 20:29 (UTC)

Am I missing something, or should the x86 architecture map to i686 instead of pentium4?

eNV25 commented on 2023-08-09 16:34 (UTC) (edited on 2023-08-09 16:36 (UTC) by eNV25)

This version is build by the Zig maintainers, and the zig binary is statically linked with llvm and other dependencies.

This actually the same as aur/zig-static, but it seems to have been abandoned some time ago. I should probably submit a deletion request for that.

hizani commented on 2023-08-09 15:35 (UTC)

Is there a conceptual difference between aur/zig-bin and extra/zig beside the version?

<deleted-account> commented on 2022-11-30 21:28 (UTC)

This package is out of date. Current version is 0.10.0