[arch-commits] Commit in atop/trunk (PKGBUILD)
Sergej Pupykin
spupykin at nymeria.archlinux.org
Fri Apr 25 13:26:55 UTC 2014
Date: Friday, April 25, 2014 @ 15:26:55
Author: spupykin
Revision: 110161
upgpkg: atop 2.0.2-2
upd
Modified:
atop/trunk/PKGBUILD
----------+
PKGBUILD | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-04-25 13:14:37 UTC (rev 110160)
+++ PKGBUILD 2014-04-25 13:26:55 UTC (rev 110161)
@@ -4,7 +4,7 @@
pkgname=atop
pkgver=2.0.2
-pkgrel=1
+pkgrel=2
pkgdesc="A system and process level monitor."
arch=(i686 x86_64)
url="http://www.atoptool.nl/"
@@ -13,9 +13,14 @@
source=(http://www.atoptool.nl/download/atop-${pkgver}.tar.gz)
md5sums=('f1dd1984584f9635712cb7196e25620c')
+prepare() {
+ cd $srcdir/$pkgname-${pkgver/_/-}
+ sed -i 's#root ##' atop.cron
+ sed -i 's|%|%%|g' atop.service
+}
+
build() {
cd $srcdir/$pkgname-${pkgver/_/-}
- sed -i 's#root ##' atop.cron
make
}
More information about the arch-commits
mailing list