Isaac Freund d2fbe47cac *: orphan packages maintained by ifreund
I've moved on from void and won't be updating these any more.
Despite that, I'll probably continue to lurk in #xbps so feel free to
ping me with any questions about Zig or river packaging.

Changes by @ahesford: adopt foot, libxkbcommon, seatd, wayland-protocols

Closes: #48400 [via git-merge-pr]
2024-01-28 07:21:05 -05:00

26 lines
775 B
Bash

# Template file for 'zig'
pkgname=zig
version=0.10.1
revision=2
archs="x86_64* aarch64*"
build_style=cmake
configure_args="-DZIG_TARGET_MCPU=baseline"
make_cmd=make
# we add xml2, zstd, zlib and ncurses
# because our lld is static-only and requires those to work
makedepends="clang llvm15 lld-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=69459bc804333df077d441ef052ffa143d53012b655a51f04cfef1414c04168c
nopie=yes
nocross=yes
export CMAKE_GENERATOR="Unix Makefiles"
post_install() {
vlicense LICENSE
}