PKGBUILDs/core/psmisc/PKGBUILD
2009-10-09 21:17:35 -05:00

24 lines
822 B
Bash

# $Id: PKGBUILD 48213 2009-08-01 04:43:01Z eric $
# Maintainer: Eric Belanger <eric@archlinux.org>
pkgname=psmisc
pkgver=22.8
pkgrel=1
pkgdesc="Miscellaneous procfs tools"
arch=('i686' 'x86_64')
url="http://psmisc.sourceforge.net/index.html"
license=('GPL')
groups=('base')
depends=('glibc' 'ncurses')
source=(http://downloads.sourceforge.net/psmisc/${pkgname}-${pkgver}.tar.gz psmisc.checkregs.fix.patch)
md5sums=('32c493bb484ce605a1cabba1aa084bca' '143116f9c1a6ed14645cf34f76e97239')
sha1sums=('bce327dc1dad257a67c2fbe9ca7bf227d6d52a51' 'cda61d954cc16d5331a4e3e78a30ef61fa798ef3')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -p0 < ../psmisc.checkregs.fix.patch || return 1
autoreconf || return 1
./configure --prefix=/usr || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
}