summaryrefslogtreecommitdiffstats
path: root/abs/core/psmisc/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/psmisc/PKGBUILD')
-rw-r--r--abs/core/psmisc/PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/abs/core/psmisc/PKGBUILD b/abs/core/psmisc/PKGBUILD
new file mode 100644
index 0000000..c6df5b5
--- /dev/null
+++ b/abs/core/psmisc/PKGBUILD
@@ -0,0 +1,25 @@
+# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# Maintainer: Eric Belanger <eric@archlinux.org>
+
+pkgname=psmisc
+pkgver=22.6
+pkgrel=10
+pkgdesc="Miscellaneous procfs tools"
+arch=('i686' 'x86_64')
+url="http://psmisc.sourceforge.net"
+license=('GPL')
+groups=('base')
+depends=('glibc' 'ncurses')
+source=(http://downloads.sourceforge.net/psmisc/$pkgname-$pkgver.tar.gz)
+md5sums=('2e81938855cf5cc38856bd4a31d79a4c')
+sha1sums=('cb15c23e9cfe618e9de5f066525bce7dc7b77421')
+
+build() {
+ cd $startdir/src/$pkgname-$pkgver
+ ./configure --prefix=/usr
+ make || return 1
+ make DESTDIR=$startdir/pkg install
+# we use sysvinit's pidof program
+ rm -f $startdir/pkg/usr/man/man1/pidof.1
+ rm -f $startdir/pkg/usr/bin/pidof
+}