[arch-commits] Commit in atop/trunk (PKGBUILD)

Sergej Pupykin spupykin at archlinux.org
Wed Feb 3 10:40:38 UTC 2016


    Date: Wednesday, February 3, 2016 @ 11:40:37
  Author: spupykin
Revision: 160061

upgpkg: atop 2.2_3-1

upd

Modified:
  atop/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++++----------
 1 file changed, 5 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-02-03 09:28:54 UTC (rev 160060)
+++ PKGBUILD	2016-02-03 10:40:37 UTC (rev 160061)
@@ -3,8 +3,8 @@
 # Contributor: John Gerritse <john.gerritse at gmail.com>
 
 pkgname=atop
-pkgver=2.1_1
-pkgrel=3
+pkgver=2.2_3
+pkgrel=1
 pkgdesc="A system and process level monitor."
 arch=(i686 x86_64)
 url="http://www.atoptool.nl/"
@@ -11,11 +11,11 @@
 license=('GPL')
 depends=('ncurses' 'sh' 'zlib' 'cron')
 source=(http://www.atoptool.nl/download/atop-${pkgver/_/-}.tar.gz)
-md5sums=('d956f5b0c7e0705cff6cf44898d664d7')
+md5sums=('034dc1544f2ec4e4d2c739d320dc326d')
 
 prepare() {
   cd $srcdir/$pkgname-*
-  sed -i 's#root ##' atop.cron
+  sed -i 's#root ##' atop.cron*
 }
 
 build() {
@@ -25,10 +25,5 @@
 
 package() {
   cd $srcdir/$pkgname-*
-  make DESTDIR=$pkgdir INIPATH=/etc/rc.d SBINPATH=/usr/bin install
-  rm -f $pkgdir/etc/cron.d/atop
-  install -dm0755 $pkgdir/etc/cron.daily
-  mv $pkgdir/etc/atop/atop.daily $pkgdir/etc/cron.daily/atop
-  install -Dm0644 atop.service $pkgdir/usr/lib/systemd/system/atop.service
-  rm -rf $pkgdir/etc/rc.d
+  make DESTDIR=$pkgdir systemdinstall
 }



More information about the arch-commits mailing list