23 lines
582 B
Bash
23 lines
582 B
Bash
# Template file for 'zig'
|
|
pkgname=zig
|
|
version=0.8.1
|
|
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=8c428e14a0a89cb7a15a6768424a37442292858cdb695e2eb503fa3c7bf47f1a
|
|
nopie=yes
|
|
nocross=yes
|
|
|
|
export CMAKE_GENERATOR="Unix Makefiles"
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|