summaryrefslogtreecommitdiff
path: root/testing/psmisc/PKGBUILD
blob: eae9848402a7b55a8ba0995a2539c770e76b8158 (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 148578 2012-02-03 23:11:21Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>

pkgname=psmisc
pkgver=22.15
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 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
}