dcron: switch to /usr.

This commit is contained in:
Juan RP 2012-07-09 18:17:31 +02:00
parent 1bf40dd1b6
commit 6324d5eac2

View file

@ -1,7 +1,7 @@
# Template file for 'dcron'
pkgname=dcron
version=4.5
revision=15
revision=16
distfiles="http://www.jimpryor.net/linux/releases/dcron-${version}.tar.gz"
short_desc="Dillon's lightweight cron daemon"
maintainer="Juan RP <xtraeme@gmail.com>"
@ -15,7 +15,6 @@ long_desc="
like anacron makes for too much complexity. So the goal is a simple cron daemon
that can also take over the central functions of anacron."
build_requires=11
replaces="cronie>=0"
systemd_services="dcron.service on"
conf_files="/var/spool/cron/root"
@ -44,7 +43,7 @@ do_install() {
install -Dm600 extra/root.crontab ${DESTDIR}/var/spool/cron/root
install -Dm644 extra/crond.logrotate ${DESTDIR}/etc/logrotate.d/crond
vinstall ${FILESDIR}/dcron.service 644 lib/systemd/system
vinstall ${FILESDIR}/dcron.service 644 usr/lib/systemd/system
# crontab must be setuid for all users to work!
chmod 4755 ${DESTDIR}/usr/bin/crontab
}