[arch-commits] Commit in atop/trunk (PKGBUILD)
Ike Devolder
idevolder at archlinux.org
Wed Nov 6 09:03:13 UTC 2019
Date: Wednesday, November 6, 2019 @ 09:03:12
Author: idevolder
Revision: 524285
upgpkg: atop 2.5.0-2
remove cron dependencie
add atop-rotate timer by default
Modified:
atop/trunk/PKGBUILD
----------+
PKGBUILD | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-11-06 09:02:59 UTC (rev 524284)
+++ PKGBUILD 2019-11-06 09:03:12 UTC (rev 524285)
@@ -4,12 +4,12 @@
pkgname=atop
pkgver=2.5.0
-pkgrel=1
+pkgrel=2
pkgdesc='A system and process level monitor'
arch=('x86_64')
url='https://www.atoptool.nl/'
license=('GPL')
-depends=('ncurses' 'sh' 'zlib' 'cron')
+depends=('ncurses' 'sh' 'zlib')
backup=('etc/default/atop')
source=("https://www.atoptool.nl/download/atop-${pkgver/_/-}.tar.gz"
'atop.default')
@@ -32,4 +32,8 @@
mkdir -p "$pkgdir/etc/default"
make DESTDIR="$pkgdir" systemdinstall SBINPATH=/usr/bin
install -Dm644 "$srcdir/atop.default" "$pkgdir/etc/default/atop"
+ # enable atop-rotate.timer by default
+ install -dm755 "$pkgdir/usr/lib/systemd/system/timers.target.wants"
+ ln -s ../atop-rotate.timer \
+ "$pkgdir/usr/lib/systemd/system/timers.target.wants/atop-rotate.timer"
}
More information about the arch-commits
mailing list