# $Id: PKGBUILD 90063 2010-09-07 03:39:08Z eric $
# Maintainer: Eric Belanger <eric@archlinux.org>

pkgname=psmisc
pkgver=22.13
pkgrel=1
pkgdesc="Miscellaneous procfs tools"
arch=('i686' 'x86_64')
url="http://psmisc.sourceforge.net/index.html"
license=('GPL')
groups=('base')
depends=('glibc' 'ncurses')
changelog=ChangeLog
source=(http://downloads.sourceforge.net/psmisc/${pkgname}-${pkgver}.tar.gz)
md5sums=('e2c339e6b65b730042084023784a729e')
sha1sums=('5d53c8bb5a279176be3515c07d833cdf116dd516')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr
  make || return 1
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}