# Template file for 'mold' pkgname=mold version=2.1.0 revision=1 build_style=cmake configure_args="-DMOLD_USE_SYSTEM_MIMALLOC=ON -Dmimalloc_DIR=${XBPS_CROSS_BASE}/cmake/mimalloc-2.0" makedepends="mimalloc-devel openssl-devel zlib-devel libzstd-devel" # It's probably not worth pulling in clang/llvm to run the few tests that # depend on them. checkdepends="tar zstd libdwarf gdb" short_desc="Faster drop-in replacement for existing Unix linkers" maintainer="Peter Wang " license="MIT" homepage="https://github.com/rui314/mold" distfiles="https://github.com/rui314/mold/archive/refs/tags/v${version}.tar.gz" checksum=a32bec1282671b18ea4691855aed925ea2f348dfef89cb7689cd81273ea0c5df post_install() { vlicense LICENSE rm -v ${DESTDIR}/usr/share/doc/mold/LICENSE }