summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/procps/PKGBUILD
blob: 84b063cab8d4b4f2c04fdfb1c2b7aab8f984538f (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
# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
# Maintainer: judd <jvinet@zeroflux.org>
pkgname=procps
pkgver=3.2.7
pkgrel=13
pkgdesc="Utilities for monitoring your system and processes on your system"
arch=(i686 x86_64)
url="http://procps.sf.net"
license=('LGPL')
groups=('base')
depends=('ncurses')
backup=('etc/sysctl.conf')
source=(http://procps.sourceforge.net/procps-$pkgver.tar.gz sysctl.conf)
md5sums=('f490bca772b16472962c7b9f23b1e97d' '03571b4a24037f8ac283f3d8af02423f')

build() {
  cd $startdir/src/$pkgname-$pkgver 
  /bin/sed -i "s:\$(lib64):lib:" Makefile
  make || return 1
  make DESTDIR=$startdir/pkg ldconfig=/bin/true install
  install -D -m644 ../sysctl.conf $startdir/pkg/etc/sysctl.conf
  install -d $startdir/pkg/usr/include/proc
  install -m644 proc/*.h $startdir/pkg/usr/include/proc
}