# $Id: PKGBUILD 162759 2012-06-29 18:27:42Z eric $
# Maintainer: Eric BĂ©langer <eric@archlinux.org>

pkgname=psmisc
pkgver=22.19
pkgrel=1
pkgdesc="Miscellaneous procfs tools"
arch=('i686' 'x86_64')
url="http://psmisc.sourceforge.net/index.html"
license=('GPL')
groups=('base')
depends=('ncurses')
source=(http://downloads.sourceforge.net/psmisc/${pkgname}-${pkgver}.tar.gz)
sha1sums=('4c8fb774449f966f78c4c6e1d77d1a24b4187410')

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

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