From 661ae3556b29df8f2362737234d59771f31e3903 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 12 Jan 2012 18:04:16 +0100 Subject: [PATCH] psmisc: provide the pidof cmd required by dracut and others, revbump. --- srcpkgs/psmisc/template | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/srcpkgs/psmisc/template b/srcpkgs/psmisc/template index 0f9519aec4..5856f22f0c 100644 --- a/srcpkgs/psmisc/template +++ b/srcpkgs/psmisc/template @@ -3,7 +3,7 @@ pkgname=psmisc version=22.14 distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz" build_style=gnu-configure -revision=1 +revision=2 short_desc="Small set of utilities that use the linux proc filesystem" maintainer="Juan RP " homepage="http://psmisc.sourceforge.net/index.html" @@ -16,3 +16,8 @@ long_desc=" Add_dependency build gettext Add_dependency build ncurses-devel + +post_install() { + # provide pidof symlink. + cd ${DESTDIR}/usr/bin && ln -sf killall pidof +}