From e0156dc5e36862da37df411d26707312a0390279 Mon Sep 17 00:00:00 2001 From: kj-sh604 Date: Thu, 29 May 2025 16:44:25 -0400 Subject: refactor: update uutils stuff --- coreutils-uutils/.SRCINFO | 2 +- coreutils-uutils/PKGBUILD | 11 +++++------ 2 files changed, 6 insertions(+), 7 deletions(-) (limited to 'coreutils-uutils') diff --git a/coreutils-uutils/.SRCINFO b/coreutils-uutils/.SRCINFO index c3f2dda..2c0aa7d 100644 --- a/coreutils-uutils/.SRCINFO +++ b/coreutils-uutils/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = coreutils-uutils pkgdesc = Cross-platform Rust rewrite of the GNU coreutils installed as system core utilities (WARNING: use at own risk). pkgver = 0.1.0 - pkgrel = 3 + pkgrel = 4 url = https://github.com/uutils/coreutils arch = x86_64 license = MIT diff --git a/coreutils-uutils/PKGBUILD b/coreutils-uutils/PKGBUILD index 6abb692..88c0954 100644 --- a/coreutils-uutils/PKGBUILD +++ b/coreutils-uutils/PKGBUILD @@ -2,7 +2,7 @@ pkgname=coreutils-uutils pkgver=0.1.0 -pkgrel=3 +pkgrel=4 pkgdesc='Cross-platform Rust rewrite of the GNU coreutils installed as system core utilities (WARNING: use at own risk).' arch=('x86_64') @@ -52,17 +52,16 @@ package() { MANDIR=/share/man/man1 \ PROG_PREFIX= \ PROFILE=release \ - MULTICALL=y + MULTICALL=y \ + SKIP_UTILS="hostname kill more uptime" # add libstdbuf.so mkdir -p $pkgdir/usr/lib/coreutils cd $srcdir && cd ${pkgname%-uutils}-${pkgver}/target/release/deps mv liblibstdbuf.so $pkgdir/usr/lib/coreutils/libstdbuf.so - # clean conflicts (archlinux ships these in other apps) - cd $pkgdir/usr/bin - rm hostname kill more uptime + # clean conflicts (arch ships these in the bash-completion package) rm $pkgdir/usr/share/bash-completion/completions/* - rm $pkgdir/usr/share/man/man1/{hostname.1,kill.1,more.1,uptime.1} # symlink missing binaries + cd $pkgdir/usr/bin if [ -f "coreutils" ]; then local binaries=( "b2sum" "b3sum" "md5sum" "sha1sum" "sha224sum" "sha256sum" "sha3-224sum" -- cgit v1.2.3