summaryrefslogtreecommitdiff
path: root/testing/procps-ng/PKGBUILD
blob: 1266a40fff9e59a32edf37e8d8c5e8bc212ea7b8 (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
32
33
34
35
# $Id: PKGBUILD 160218 2012-05-31 00:53:30Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>

pkgname=procps-ng
pkgver=3.3.3
pkgrel=1
pkgdesc="Utilities for monitoring your system and processes on your system"
arch=('i686' 'x86_64')
url="http://gitorious.org/procps"
license=('GPL' 'LGPL')
groups=('base')
depends=('ncurses')
conflicts=('procps')
provides=('procps')
replaces=('procps')
backup=('etc/sysctl.conf')
options=('!libtool')
source=(procps-ng-${pkgver}.tar.gz::http://gitorious.org/procps/procps/archive-tarball/v${pkgver}
        sysctl.conf)
sha1sums=('e78a098f1a3c06722155800cc5cfa0c865af03c0'
          'ddf0dab2e3612d44903fc02f46316cabbec4651e')

build() {
  cd "${srcdir}/procps-procps"
  echo ${pkgver} > .tarball-version
  ./autogen.sh
  ./configure --exec-prefix=/ --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib
  make
}

package() {
  cd "${srcdir}/procps-procps"
  make DESTDIR="${pkgdir}" install
  install -D -m644 "${srcdir}/sysctl.conf" "${pkgdir}/etc/sysctl.conf"
}