summaryrefslogtreecommitdiff
path: root/core/psmisc/PKGBUILD
blob: 4dcea40d256409f200ee145f6041315471f916e0 (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
28
29
30
31
# $Id: PKGBUILD 211948 2014-05-02 02:38:12Z fyan $
# Maintainer: Eric Bélanger <eric@archlinux.org>

pkgname=psmisc
pkgver=22.21
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 psmisc-fuser.patch)
sha1sums=('09fabbef4539b58b6b8738a73da3d21d5daa1a58'
          'e739ad5b14ca836db5859f0755d8f2fc8e86de69')

prepare() {
  cd ${pkgname}-${pkgver}
  patch -p1 -i ../psmisc-fuser.patch
}

build() {
  cd ${pkgname}-${pkgver}
  ./configure --prefix=/usr
  make
}

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