summaryrefslogtreecommitdiff
path: root/system/coreutils/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-07-07 20:07:36 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-07-07 20:07:36 +0000
commitaa9d300410a69e07dc8d2ecea85d5c3294df6dba (patch)
tree10d506b1e987c26c7389ba6b4b0395b19b0131f5 /system/coreutils/APKBUILD
parent523acef65f16e8242ff80327d0b3859633707adf (diff)
downloadpackages-aa9d300410a69e07dc8d2ecea85d5c3294df6dba.tar.gz
packages-aa9d300410a69e07dc8d2ecea85d5c3294df6dba.tar.bz2
packages-aa9d300410a69e07dc8d2ecea85d5c3294df6dba.tar.xz
packages-aa9d300410a69e07dc8d2ecea85d5c3294df6dba.zip
system/coreutils: fix everything
Diffstat (limited to 'system/coreutils/APKBUILD')
-rw-r--r--system/coreutils/APKBUILD11
1 files changed, 7 insertions, 4 deletions
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