zig: update to 0.8.0pre1.

This commit is contained in:
Isaac Freund 2021-05-17 17:34:56 +02:00 committed by q66
parent feccc72c40
commit 2cda0e5971
1 changed files with 12 additions and 6 deletions

View File

@ -1,17 +1,23 @@
# Template file for 'zig'
pkgname=zig
version=0.7.1
# We temporarily package a master branch snapshot as the latest release
# (0.7.1) requires llvm11. Zig 0.8.0 is planned to be released on 31.5.
_upstream_version=0.8.0-dev.2275+8467373bb
version=0.8.0pre1
revision=1
archs="x86_64* aarch64*"
wrksrc="zig-${_upstream_version}"
build_style=cmake
# Upstream's version handling for master builds relies on the git repo
configure_args="-DZIG_VERSION=${_upstream_version}"
make_cmd=make
makedepends="clang llvm11 lld-devel"
makedepends="clang llvm12 lld-devel"
short_desc="Programming language designed for robustness, optimality, and clarity"
maintainer="Duncaen <duncaen@voidlinux.org>"
maintainer="Isaac Freund <ifreund@ifreund.xyz>"
license="MIT"
homepage="https://ziglang.org/"
distfiles="https://ziglang.org/download/${version}/zig-${version}.tar.xz"
checksum=2db3b944ab368d955b48743d9f7c963b8f96de1a441ba5a35e197237cc6dae44
homepage="https://ziglang.org"
distfiles="${homepage}/builds/zig-${_upstream_version}.tar.xz"
checksum=2ac91466d8a02e82eff6d89181a36b3377c3b0ec9b8a739e1fd2fdf3c173785f
nopie=yes
nocross=yes