From f7242af3a9f156fe0270b03dbe839c1436059eb4 Mon Sep 17 00:00:00 2001 From: sisungo Date: Thu, 25 Jun 2026 05:57:11 +0800 Subject: [PATCH] feat: add unix functions to coreutils Signed-off-by: sisungo --- packages/coreutils/pkgbuild.py | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/packages/coreutils/pkgbuild.py b/packages/coreutils/pkgbuild.py index e887f3c..0f4689c 100644 --- a/packages/coreutils/pkgbuild.py +++ b/packages/coreutils/pkgbuild.py @@ -7,19 +7,24 @@ block_hook("autolink") def build(): - rust.build() + rust.build(["--features", "unix"]) on_build(build) functions = [ "[", + "arch", "b2sum", "base32", "base64", "basename", "basenc", "cat", + "chgrp", + "chmod", + "chown", + "chroot", "cksum", "comm", "cp", @@ -40,21 +45,34 @@ functions = [ "false", "fmt", "fold", + "groups", "head", + "hostid", + "hostname", + "id", + "install", "join", + "kill", "link", "ln", + "logname", "ls", "md5sum", "mkdir", + "mkfifo", + "mknod", "mktemp", "more", "mv", + "nice", "nl", + "nohup", + "nproc", "numfmt", "od", "paste", "pathchk", + "pinky", "pr", "printenv", "printf", @@ -75,22 +93,32 @@ functions = [ "sleep", "sort", "split", + "stat", + "stdbuf", + "stty", "sum", + "sync", "tac", "tail", "tee", "test", + "timeout", "touch", "tr", "true", "truncate", "tsort", "tty", + "uname", "unexpand", "uniq", "unlink", + "uptime", + "users", "vdir", "wc", + "who", + "whoami", "yes", ]