zig: update to 0.8.0.

This commit is contained in:
novakane 2021-06-05 10:39:05 +02:00 committed by Andrew J. Hesford
parent 6d0527e7a8
commit 2d10ca6a61
1 changed files with 3 additions and 9 deletions

View File

@ -1,23 +1,17 @@
# Template file for 'zig'
pkgname=zig
# 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
version=0.8.0
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 llvm12 lld-devel"
short_desc="Programming language designed for robustness, optimality, and clarity"
maintainer="Isaac Freund <ifreund@ifreund.xyz>"
license="MIT"
homepage="https://ziglang.org"
distfiles="${homepage}/builds/zig-${_upstream_version}.tar.xz"
checksum=2ac91466d8a02e82eff6d89181a36b3377c3b0ec9b8a739e1fd2fdf3c173785f
distfiles="https://ziglang.org/download/${version}/zig-${version}.tar.xz"
checksum=03a828d00c06b2e3bb8b7ff706997fd76bf32503b08d759756155b6e8c981e77
nopie=yes
nocross=yes