aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-02-21 13:56:51 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2018-02-21 20:06:03 +0000
commitafce3efe6e0ca0047bf584a5d89c5e6fdee8db48 (patch)
treecf131bfe16647e6665ad65666c006d63be73df60
parent48d2d428c9bfb574abade3a1ec3925be03e3feff (diff)
downloadaports-afce3efe6e0ca0047bf584a5d89c5e6fdee8db48.tar.bz2
aports-afce3efe6e0ca0047bf584a5d89c5e6fdee8db48.tar.xz
main/procps: install some utilities to /usr/bin
This fixes #7737.
-rw-r--r--main/procps/APKBUILD8
1 files changed, 7 insertions, 1 deletions
diff --git a/main/procps/APKBUILD b/main/procps/APKBUILD
index 82078250ff..5471aa1d2b 100644
--- a/main/procps/APKBUILD
+++ b/main/procps/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=procps
pkgver=3.3.12
-pkgrel=4
+pkgrel=5
pkgdesc="Utilities for monitoring your system and processes on your system"
url="https://gitlab.com/procps-ng/procps"
arch="all"
@@ -60,6 +60,12 @@ package() {
# These binaries are identical.
ln -sf pgrep "$pkgdir"/bin/pkill
+ # Override BusyBox symlinks
+ mkdir -p "$pkgdir"/usr/bin
+ for i in free pgrep pkill pmap pwdx top uptime; do
+ mv "$pkgdir"/bin/$i "$pkgdir"/usr/bin/$i
+ done
+
install -d "$pkgdir"/usr/lib
mv "$pkgdir"/include "$pkgdir"/usr/ \
&& mv "$pkgdir"/lib/pkgconfig "$pkgdir"/usr/lib/