[arch-commits] Commit in atop/repos (4 files)

Evangelos Foutras foutrelis at archlinux.org
Sun Sep 6 21:45:18 UTC 2015


    Date: Sunday, September 6, 2015 @ 23:45:18
  Author: foutrelis
Revision: 139384

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  atop/repos/community-staging-i686/
  atop/repos/community-staging-i686/PKGBUILD
    (from rev 139383, atop/trunk/PKGBUILD)
  atop/repos/community-staging-x86_64/
  atop/repos/community-staging-x86_64/PKGBUILD
    (from rev 139383, atop/trunk/PKGBUILD)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   34 ++++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 2 files changed, 68 insertions(+)

Copied: atop/repos/community-staging-i686/PKGBUILD (from rev 139383, atop/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2015-09-06 21:45:18 UTC (rev 139384)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: John Gerritse <john.gerritse at gmail.com>
+
+pkgname=atop
+pkgver=2.1_1
+pkgrel=3
+pkgdesc="A system and process level monitor."
+arch=(i686 x86_64)
+url="http://www.atoptool.nl/"
+license=('GPL')
+depends=('ncurses' 'sh' 'zlib' 'cron')
+source=(http://www.atoptool.nl/download/atop-${pkgver/_/-}.tar.gz)
+md5sums=('d956f5b0c7e0705cff6cf44898d664d7')
+
+prepare() {
+  cd $srcdir/$pkgname-*
+  sed -i 's#root ##' atop.cron
+}
+
+build() {
+  cd $srcdir/$pkgname-*
+  make
+}
+
+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
+}

Copied: atop/repos/community-staging-x86_64/PKGBUILD (from rev 139383, atop/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-09-06 21:45:18 UTC (rev 139384)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: John Gerritse <john.gerritse at gmail.com>
+
+pkgname=atop
+pkgver=2.1_1
+pkgrel=3
+pkgdesc="A system and process level monitor."
+arch=(i686 x86_64)
+url="http://www.atoptool.nl/"
+license=('GPL')
+depends=('ncurses' 'sh' 'zlib' 'cron')
+source=(http://www.atoptool.nl/download/atop-${pkgver/_/-}.tar.gz)
+md5sums=('d956f5b0c7e0705cff6cf44898d664d7')
+
+prepare() {
+  cd $srcdir/$pkgname-*
+  sed -i 's#root ##' atop.cron
+}
+
+build() {
+  cd $srcdir/$pkgname-*
+  make
+}
+
+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
+}



More information about the arch-commits mailing list