summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzorz <zorz@krypt.sh>2026-05-15 18:49:53 +0300
committerzorz <zorz@krypt.sh>2026-05-15 18:49:53 +0300
commitdf20fe2ca40143be462f7dab45936102b0fe6cc0 (patch)
tree6fb3a746d9fe5ece9a5baeb0ffb51caf4e002e05
parentc9f1f4f4e344a76afbfb33526fab5cb38aa34057 (diff)
downloadzorz-main.tar.gz
zorz-main.tar.xz
mold linkerHEADmain
-rw-r--r--README.md5
-rw-r--r--mold/.footprint15
-rw-r--r--mold/.signature6
-rw-r--r--mold/MAKEPKG41
4 files changed, 67 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..2bd13b8
--- /dev/null
+++ b/README.md
@@ -0,0 +1,5 @@
1# krypt/sh Community Ports
2
3Community-contributed ports for the krypt/sh distribution.
4
5
diff --git a/mold/.footprint b/mold/.footprint
new file mode 100644
index 0000000..2f2999b
--- /dev/null
+++ b/mold/.footprint
@@ -0,0 +1,15 @@
1drwxr-xr-x root/root usr/
2drwxr-xr-x root/root usr/bin/
3-rwxr-xr-x root/root usr/bin/mold
4lrwxrwxrwx root/root usr/bin/ld.mold -> mold
5drwxr-xr-x root/root usr/lib/
6drwxr-xr-x root/root usr/lib/mold/
7-rwxr-xr-x root/root usr/lib/mold/mold-wrapper.so
8drwxr-xr-x root/root usr/libexec/
9drwxr-xr-x root/root usr/libexec/mold/
10lrwxrwxrwx root/root usr/libexec/mold/ld -> ../../bin/mold
11drwxr-xr-x root/root usr/share/
12drwxr-xr-x root/root usr/share/man/
13drwxr-xr-x root/root usr/share/man/man1/
14-rw-r--r-- root/root usr/share/man/man1/mold.1.gz
15lrwxrwxrwx root/root usr/share/man/man1/ld.mold.1.gz -> mold.1.gz
diff --git a/mold/.signature b/mold/.signature
new file mode 100644
index 0000000..8620107
--- /dev/null
+++ b/mold/.signature
@@ -0,0 +1,6 @@
1RWTZ9IduCSQ/mLiCx4atKGik9TvSE6umWZ69KUN7LuGAl9az04LY4FCnOJ/8ztBCxy0hZ17VaIK80CGhmr3SRLuPD99h/7w4QQY=
2
3SHA256 (MAKEPKG) = 1507adab1339cb17e596f1821d2e9161d4a30856f1e45ab1c4b36f66999ae941
4SHA256 (.footprint) = d341ec17481e00a96101e727d94383c1a653edc4e7c541926e986e89aeb530ac
5SHA256 (mold-2.41.0.tar.gz) = 0a61abac85d818437b425df856822e9d6e9982baeae5a93bcb02fe6c0060c61a
6SHA256 (mold#2.41.0-1.pkg.tar.gz) = 9e4f1a7ae815d21ce9fe505f784456254d0a3d4687f0d1904df1861da6cbb4ea
diff --git a/mold/MAKEPKG b/mold/MAKEPKG
new file mode 100644
index 0000000..4046d91
--- /dev/null
+++ b/mold/MAKEPKG
@@ -0,0 +1,41 @@
1#!/bin/mkpkg
2# description: A modern parallel linker
3# url: https://github.com/rui314/mold
4
5name=mold
6version=2.41.0
7release=1
8depends=(zlib zstd libressl)
9makedeps=(cmake ninja python3)
10source=(https://github.com/rui314/mold/archive/refs/tags/v$version.tar.gz)
11renames=(${name}-${version}.tar.gz)
12sha256sums=(
13 "0a61abac85d818437b425df856822e9d6e9982baeae5a93bcb02fe6c0060c61a"
14)
15
16build() {
17 cd $name-$version
18
19 cmake -B build -G Ninja -Wno-dev \
20 -DCMAKE_BUILD_TYPE=Release \
21 -DCMAKE_INSTALL_PREFIX=/usr \
22 -DCMAKE_INSTALL_LIBDIR=lib \
23 -DCMAKE_C_COMPILER=clang \
24 -DCMAKE_CXX_COMPILER=clang++ \
25 -DMOLD_TARGETS="X86_64" \
26 -DMOLD_USE_MIMALLOC=OFF \
27 -DMOLD_USE_SYSTEM_TBB=OFF \
28 -DMOLD_LTO=OFF
29
30 ninja -C build
31 DESTDIR=$PKG ninja -C build install
32
33 rm -rf $PKG/usr/share/doc
34}
35
36signify() {
37 untrusted comment: public key
38 RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
39}
40
41# vim: filetype=sh