void-packages/srcpkgs/zig/template
2021-06-07 10:08:02 -04:00

22 lines
582 B
Bash

# Template file for 'zig'
pkgname=zig
version=0.8.0
revision=1
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 <ifreund@ifreund.xyz>"
license="MIT"
homepage="https://ziglang.org"
distfiles="https://ziglang.org/download/${version}/zig-${version}.tar.xz"
checksum=03a828d00c06b2e3bb8b7ff706997fd76bf32503b08d759756155b6e8c981e77
nopie=yes
nocross=yes
export CMAKE_GENERATOR="Unix Makefiles"
post_install() {
vlicense LICENSE
}