-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Expand file tree
/
Copy pathtemplate
More file actions
23 lines (22 loc) · 779 Bytes
/
template
File metadata and controls
23 lines (22 loc) · 779 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Template file for 'zig'
pkgname=zig
version=0.16.0
revision=1
archs="x86_64* aarch64*"
build_style=cmake
configure_args="-DZIG_TARGET_MCPU=baseline -DZIG_PIE=ON"
_llvmver=21
# we add xml2, zstd, zlib and ncurses
# because our lld is static-only and requires those to work
makedepends="clang${_llvmver}-devel llvm${_llvmver}-devel lld${_llvmver}-devel
libxml2-devel libzstd-devel ncurses-devel zlib-devel"
short_desc="Programming language designed for robustness, optimality, and clarity"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://ziglang.org"
distfiles="https://ziglang.org/download/${version}/zig-${version}.tar.xz"
checksum=43186959edc87d5c7a1be7b7d2a25efffd22ce5807c7af99067f86f99641bfdf
nocross=yes
post_install() {
vlicense LICENSE
}