From 12144b850f7dbff536b84e2d327e1a35400d6ddc Mon Sep 17 00:00:00 2001 From: kj-sh604 Date: Tue, 27 May 2025 13:52:18 -0400 Subject: refactor: package rename and pkgdesc changes --- coreutils-uutils/.SRCINFO | 3 ++- coreutils-uutils/PKGBUILD | 16 ++++++++-------- coreutils-uutils/build-stty.patch | 30 ++++++++++++++++++++++++++++++ 3 files changed, 40 insertions(+), 9 deletions(-) create mode 100644 coreutils-uutils/build-stty.patch (limited to 'coreutils-uutils') diff --git a/coreutils-uutils/.SRCINFO b/coreutils-uutils/.SRCINFO index bfe88c7..4bfe942 100644 --- a/coreutils-uutils/.SRCINFO +++ b/coreutils-uutils/.SRCINFO @@ -1,5 +1,5 @@ pkgbase = coreutils-uutils - pkgdesc = (warning: use at own risk) Cross-platform Rust rewrite of the GNU coreutils installed as system core utilities. This package does NOT build chcon, runcon, and stty + pkgdesc = (warning: use at own risk) Cross-platform Rust rewrite of the GNU coreutils installed as system core utilities. This PKGBUID does NOT build chcon and runcon pkgver = 0.1.0 pkgrel = 3 url = https://github.com/uutils/coreutils @@ -21,6 +21,7 @@ pkgbase = coreutils-uutils conflicts = sha3sum source = uutils-coreutils-0.1.0.tar.gz::https://github.com/uutils/coreutils/archive/0.1.0.tar.gz source = disable_selinux.patch + source = build-stty.patch sha256sums = 55c528f2b53c1b30cb704550131a806e84721c87b3707b588a961a6c97f110d8 sha256sums = 302614165d99f04600627222ddad0444a0144fcad6a1ff59ad43fb0b3162060e diff --git a/coreutils-uutils/PKGBUILD b/coreutils-uutils/PKGBUILD index 7c9ef65..5456438 100644 --- a/coreutils-uutils/PKGBUILD +++ b/coreutils-uutils/PKGBUILD @@ -4,8 +4,8 @@ pkgname=coreutils-uutils pkgver=0.1.0 pkgrel=3 pkgdesc='(warning: use at own risk) Cross-platform Rust rewrite of the GNU -coreutils installed as system core utilities. This package does NOT build -chcon, runcon, and stty' +coreutils installed as system core utilities. This PKGBUID does NOT build +chcon and runcon' arch=('x86_64') license=('GPL3' 'MIT') url='https://github.com/uutils/coreutils' @@ -31,16 +31,16 @@ makedepends=( rust ) source=("uutils-coreutils-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz" - disable_selinux.patch) + disable_selinux.patch + build-stty.patch) sha256sums=('55c528f2b53c1b30cb704550131a806e84721c87b3707b588a961a6c97f110d8' '302614165d99f04600627222ddad0444a0144fcad6a1ff59ad43fb0b3162060e') prepare() { - cd ${pkgname%-uutils}-${pkgver} - # the following is derived from the latest uutils-coreutils changes from Tobias Powalowski: - # disable selinux in Makefile, upstream seems broken in parameter parsing - # SELINUX_ENABLE=0 should not enable SELINUX but fails - patch -Np1 -i ../../disable_selinux.patch + cd ${pkgname%-uutils}-${pkgver} + patch -Np1 -i $srcdir/disable_selinux.patch + patch -Np1 -i $srcdir/build-stty.patch + } package() { diff --git a/coreutils-uutils/build-stty.patch b/coreutils-uutils/build-stty.patch new file mode 100644 index 0000000..b08c8fd --- /dev/null +++ b/coreutils-uutils/build-stty.patch @@ -0,0 +1,30 @@ +--- a/GNUmakefile ++++ b/GNUmakefile +@@ -75,8 +75,8 @@ + PROGS := \ + base32 \ + base64 \ +- basenc \ + basename \ ++ basenc \ + cat \ + cksum \ + comm \ +@@ -108,8 +108,8 @@ + more \ + mv \ + nl \ +- numfmt \ + nproc \ ++ numfmt \ + od \ + paste \ + pr \ +@@ -127,6 +127,7 @@ + sleep \ + sort \ + split \ ++ stty \ + sum \ + sync \ + tac \ -- cgit v1.2.3