summaryrefslogtreecommitdiffstats
path: root/abs/core/psmisc/PKGBUILD
blob: c6df5b55301f8b7f5862816dac2bc1511fb11068 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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
}