e6d9ea1f25
zig also links against clang, which was automatically included as a dependency of llvm10 (which it shouldn't be) masking the fact that it's needed in makedepends.
19 lines
516 B
Bash
19 lines
516 B
Bash
# Template file for 'zig'
|
|
pkgname=zig
|
|
version=0.6.0
|
|
revision=1
|
|
archs="x86_64*"
|
|
build_style=cmake
|
|
makedepends="clang llvm10 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=5d167dc19354282dd35dd17b38e99e1763713b9be8a4ba9e9e69284e059e7204
|
|
nopie=yes
|
|
nocross=yes
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|