summaryrefslogtreecommitdiff
path: root/core/cronie
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-08-13 00:02:34 +0000
committerroot <root@rshg054.dnsready.net>2012-08-13 00:02:34 +0000
commitffd2d3e0b0ac6b10b12ddc1e8747a0fb8b847667 (patch)
tree6c6bdd1bdc03f88da9f7674d0ed0500d36e33e24 /core/cronie
parent012c4b7f27441c85d7f9c46a619a3b356c94cab7 (diff)
Mon Aug 13 00:02:34 UTC 2012
Diffstat (limited to 'core/cronie')
-rw-r--r--core/cronie/PKGBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/core/cronie/PKGBUILD b/core/cronie/PKGBUILD
index 65386def0..2dd18b16f 100644
--- a/core/cronie/PKGBUILD
+++ b/core/cronie/PKGBUILD
@@ -3,13 +3,14 @@
pkgname='cronie'
pkgver=1.4.8
-pkgrel=2
+pkgrel=3
pkgdesc='Daemon that runs specified programs at scheduled times and related tools'
url='https://fedorahosted.org/cronie/'
license=('custom:BSD')
arch=('i686' 'x86_64')
depends=('pam' 'bash' 'run-parts')
-optdepends=('smtp-server: sending cron job output via email')
+optdepends=('pm-utils: defer anacron when on battery power'
+ 'smtp-server: sending cron job output via email')
source=("https://fedorahosted.org/releases/c/r/${pkgname}/${pkgname}-${pkgver}.tar.gz"
'cron.deny'
@@ -65,4 +66,7 @@ package() {
install -Dm755 contrib/0anacron "${pkgdir}"/etc/cron.hourly/0anacron
install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/cronie/COPYING
+
+ # Provide native service for arch-daemons generator
+ ln -s cronie.service "$pkgdir/usr/lib/systemd/system/crond.service"
}