void-packages/srcpkgs/zig/template
2021-02-09 00:19:30 +01:00

22 lines
580 B
Bash

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