summaryrefslogtreecommitdiff
path: root/community/atop/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/atop/PKGBUILD')
-rw-r--r--community/atop/PKGBUILD9
1 files changed, 7 insertions, 2 deletions
diff --git a/community/atop/PKGBUILD b/community/atop/PKGBUILD
index 77de470b9..b265f2361 100644
--- a/community/atop/PKGBUILD
+++ b/community/atop/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 38572 2011-01-28 12:11:54Z spupykin $
+# $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=1
+pkgrel=2
pkgdesc="A system and process level monitor."
arch=(i686 x86_64)
url="http://www.atoptool.nl/"
@@ -15,6 +15,11 @@ 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
}