void-packages/srcpkgs/zig/template
Isaac Freund c9e79da765 zig: backport an upstream bugfix
This commit backports one bug fix from the zig master branch which is
critical for our use-case of building software for binary distribution.
2021-11-13 11:46:21 -03:00

22 lines
583 B
Bash

# Template file for 'zig'
pkgname=zig
version=0.8.1
revision=2
archs="x86_64* aarch64*"
build_style=cmake
make_cmd=make
makedepends="clang llvm12 lld-devel"
short_desc="Programming language designed for robustness, optimality, and clarity"
maintainer="Isaac Freund <mail@isaacfreund.com>"
license="MIT"
homepage="https://ziglang.org"
distfiles="https://ziglang.org/download/${version}/zig-${version}.tar.xz"
checksum=8c428e14a0a89cb7a15a6768424a37442292858cdb695e2eb503fa3c7bf47f1a
nopie=yes
nocross=yes
export CMAKE_GENERATOR="Unix Makefiles"
post_install() {
vlicense LICENSE
}