PKGBUILDs/core/psmisc/PKGBUILD

25 lines
670 B
Bash
Raw Normal View History

2009-10-10 02:17:35 +00:00
# Maintainer: Eric Belanger <eric@archlinux.org>
pkgname=psmisc
pkgver=22.8
pkgrel=1
pkgdesc="Miscellaneous procfs tools"
2009-10-24 03:24:03 +00:00
arch=('arm')
2009-10-10 02:17:35 +00:00
url="http://psmisc.sourceforge.net/index.html"
license=('GPL')
groups=('base')
depends=('glibc' 'ncurses')
2009-10-24 03:24:03 +00:00
source=(http://downloads.sourceforge.net/psmisc/${pkgname}-${pkgver}.tar.gz
psmisc.checkregs.fix.patch)
md5sums=('32c493bb484ce605a1cabba1aa084bca'
'143116f9c1a6ed14645cf34f76e97239')
2009-10-10 02:17:35 +00:00
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
}