summaryrefslogtreecommitdiff
path: root/testing/cronie/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/cronie/PKGBUILD')
-rw-r--r--testing/cronie/PKGBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/testing/cronie/PKGBUILD b/testing/cronie/PKGBUILD
index 65386def0..2dd18b16f 100644
--- a/testing/cronie/PKGBUILD
+++ b/testing/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"
}