From aa9d300410a69e07dc8d2ecea85d5c3294df6dba Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 7 Jul 2019 20:07:36 +0000 Subject: system/coreutils: fix everything --- system/coreutils/APKBUILD | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'system/coreutils') diff --git a/system/coreutils/APKBUILD b/system/coreutils/APKBUILD index 4f9c1ddea..a9d65cccf 100644 --- a/system/coreutils/APKBUILD +++ b/system/coreutils/APKBUILD @@ -30,13 +30,15 @@ build() { LIBS="-lutmps -lskarnet" ./configure \ --build=$CBUILD \ --host=$CHOST \ - --prefix=/usr \ + --prefix=/ \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ + --datarootdir=/usr/share \ + --libexecdir=/usr/libexec \ --enable-nls \ --without-gmp \ - --enable-no-install-program=hostname,su,kill,uptime \ + --enable-no-install-program=groups,hostname,su,kill,uptime \ --enable-install-program=arch \ --with-packager="Adélie" \ --with-packager-bug-reports="https://bts.adelielinux.org/" @@ -55,8 +57,9 @@ check() { package() { make DESTDIR="$pkgdir" install - rm -rf "$pkgdir"/usr/lib/charset.alias - rmdir -p "$pkgdir"/usr/lib 2>/dev/null || true + # stdbuf(1) requires a /usr/libexec/ .so + mkdir -p "$pkgdir"/usr/bin + mv "$pkgdir"/bin/stdbuf "$pkgdir"/usr/bin/ } sha512sums="ef8941dae845bbf5ae5838bc49e44554a766302930601aada6fa594e8088f0fbad74e481ee392ff89633e68b99e4da3f761fcb5d31ee3b233d540fe2a2d4e1af coreutils-8.31.tar.xz -- cgit v1.2.3-70-g09d2