summaryrefslogtreecommitdiff
path: root/community/atop/PKGBUILD
blob: 909c10bd3ec282b439e144fb5ff10d4a04a5bfaa (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
# $Id: PKGBUILD 57413 2011-10-27 08:43:14Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: John Gerritse <john.gerritse@gmail.com>

pkgname=atop
pkgver=1.26
pkgrel=2
pkgdesc="A system and process level monitor."
arch=(i686 x86_64 'mips64el')
url="http://www.atoptool.nl/"
license=('GPL')
depends=('ncurses' 'sh' 'zlib')
source=(http://www.atoptool.nl/download/atop-$pkgver.tar.gz)
md5sums=('9a72baf4c8f330973f1e2703f5a6c041')

build() {
  cd $srcdir/$pkgname-$pkgver
  sed -i 's#root ##' atop.cron
  make
}

package() {
  cd $srcdir/$pkgname-$pkgver
  make DESTDIR=$pkgdir INIPATH=/etc/rc.d install
}