23 lines
805 B
Bash
23 lines
805 B
Bash
# Template file for 'mold'
|
|
pkgname=mold
|
|
version=2.34.1
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DMOLD_USE_SYSTEM_MIMALLOC=ON -DMOLD_USE_SYSTEM_TBB=ON"
|
|
makedepends="mimalloc-devel zlib-devel libzstd-devel tbb-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 <novalazy@gmail.com>"
|
|
license="MIT"
|
|
homepage="https://github.com/rui314/mold"
|
|
changelog="https://github.com/rui314/mold/releases"
|
|
distfiles="https://github.com/rui314/mold/archive/refs/tags/v${version}.tar.gz"
|
|
checksum=a8cf638045b4a4b2697d0bcc77fd96eae93d54d57ad3021bf03b0333a727a59d
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
rm -v ${DESTDIR}/usr/share/doc/mold/LICENSE
|
|
}
|