-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Automatically use latest nightly version of Zig
Downloads directly from https://ziglang.org/download GPG verification of downloaded files is not currently possible because Zig nightly binaries aren't signed. See github issue ziglang/zig#4945 for details Using hardcoded sha256 is also impossible because this is an auto-updating package Therefore, there is no security beyonnd the basic integrity of a https:// network connection (although that is still some security, you would have to forge a signed HTTPS certificate to intercept). This commit also changes the versioning scheme to match the upstream downloads (and be compatible with the main zig package) This requires incrementing the "epoch" This change also changes the package to supports multiple architectures (both x86_64 and ARM64)
- Loading branch information
Showing
2 changed files
with
65 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,16 @@ | ||
pkgbase = zig-dev-bin | ||
pkgdesc = A general-purpose programming language and toolchain for maintaining robust, optimal, and reusable software | ||
pkgver = 20220712 | ||
pkgver = 0.10.0_dev.3475+b3d463c9e | ||
pkgrel = 1 | ||
epoch = 1 | ||
url = https://ziglang.org/ | ||
arch = x86_64 | ||
arch = aarch64 | ||
license = MIT | ||
makedepends = curl | ||
makedepends = jq | ||
provides = zig | ||
conflicts = zig | ||
options = !strip | ||
source = https://ziglang.org/builds/zig-linux-x86_64-0.10.0-dev.2977+7d2e14267.tar.xz | ||
sha256sums = 22faf5006338de0682bb4c62dc0f73e4df5fb837ecaff21570e4ed39dc63b9c1 | ||
|
||
pkgname = zig-dev-bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters