diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2016-12-09 16:10:32 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2016-12-09 16:22:40 +0100 |
commit | 191f48c446435c10ba7661ea1b05177b3d8847a9 (patch) | |
tree | b12e341318acb8aff6fd98d048be771bf1aca1f0 | |
parent | 0f2616fa72514442f989b1451f435a1bb5c7ff3b (diff) | |
download | aports-191f48c446435c10ba7661ea1b05177b3d8847a9.tar.bz2 aports-191f48c446435c10ba7661ea1b05177b3d8847a9.tar.xz |
main/procps: deduplicate pgrep and pkill
-rw-r--r-- | main/procps/APKBUILD | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/main/procps/APKBUILD b/main/procps/APKBUILD index 3efefa3c9f..9f3bd70150 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=0 +pkgrel=1 pkgdesc="Utilities for monitoring your system and processes on your system" url="https://gitlab.com/procps-ng/procps" arch="all" @@ -50,6 +50,9 @@ package() { make DESTDIR="$pkgdir" ldconfig=true install="install -D" \ install || return 1 + # These binaries are identical. + ln -sf pgrep "$pkgdir"/bin/pkill || return 1 + install -d "$pkgdir"/usr/lib mv "$pkgdir"/include "$pkgdir"/usr/ \ && mv "$pkgdir"/lib/pkgconfig "$pkgdir"/usr/lib/ |