summaryrefslogtreecommitdiff
path: root/core/psmisc/PKGBUILD
blob: ab17fcc8eccd8ff6f4706512a32983bdd34d4642 (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
26
27
# $Id: PKGBUILD 162110 2012-06-20 09:21:46Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>

pkgname=psmisc
pkgver=22.18
pkgrel=2
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 psmisc22.18-usage.patch)
sha1sums=('964f6daa0950b128a0840d9df4dc0b671730a83c'
          '5cd326dd969b07c46d10c7d1172b91d65cbc6e10')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  patch -p1 -i "${srcdir}/psmisc22.18-usage.patch"
  ./configure --prefix=/usr
  make
}

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