summaryrefslogtreecommitdiff
path: root/core/psmisc/PKGBUILD
blob: e6c726737e22547538ae289c62943f489c2cd4cc (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 149213 2012-02-06 11:42:36Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>

pkgname=psmisc
pkgver=22.15
pkgrel=1
pkgdesc="Miscellaneous procfs tools"
arch=('i686' 'x86_64' 'mips64el')
url="http://psmisc.sourceforge.net/index.html"
license=('GPL')
groups=('base')
depends=('ncurses')
source=(http://downloads.sourceforge.net/psmisc/${pkgname}-${pkgver}.tar.gz COMM_LEN-to-18.patch)
sha1sums=('06f507d889afab70ac7ff20fbd419ca2ffcf90c0'
          '6f45338fc34e453bea5273691a0cf81ed3e20fb8')

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

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