mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
46 lines
1.5 KiB
Bash
46 lines
1.5 KiB
Bash
|
# $Id: PKGBUILD 39021 2009-05-11 07:16:44Z tpowa $
|
||
|
# Maintainer: judd <jvinet@zeroflux.org>
|
||
|
pkgname=dcron
|
||
|
pkgver=3.2
|
||
|
pkgrel=4
|
||
|
pkgdesc="Dillon's Cron Daemon"
|
||
|
arch=(i686 x86_64)
|
||
|
license=('GPL')
|
||
|
groups=('base')
|
||
|
url="http://apollo.backplane.com/FreeSrc/"
|
||
|
backup=(var/spool/cron/root)
|
||
|
depends=('glibc')
|
||
|
provides=('cron')
|
||
|
source=(http://apollo.backplane.com/FreeSrc/dcron32.tgz
|
||
|
dcron-3.1.patch
|
||
|
root.crontab
|
||
|
crond
|
||
|
crond.logrotate
|
||
|
run-cron
|
||
|
dcron-3.2.patch)
|
||
|
md5sums=('c2c816deb389b4bfb00761f26afe3efd'
|
||
|
'2f0c3f7497a12c8826c9be3f87843fcd'
|
||
|
'7fcc06b13708ebd667711b1fbf62ee6e'
|
||
|
'd7edac165ef19ebb9d0089bdc218b53a'
|
||
|
'aeabcd5e4924d1a7593c8782d1068c86'
|
||
|
'5ff0cdcb9ec99778938ac6ef26800327'
|
||
|
'44afe7dc25324baa21bdca37b9842514')
|
||
|
|
||
|
build() {
|
||
|
cd $srcdir/dcron
|
||
|
patch -Np1 -i ../dcron-3.1.patch || return 1
|
||
|
patch -Np1 -i ../dcron-3.2.patch || return 1
|
||
|
make || return 1
|
||
|
install -D -m4755 crontab $pkgdir/usr/bin/crontab
|
||
|
install -D -m755 crond $pkgdir/usr/sbin/crond
|
||
|
install -D -m644 crontab.1 $pkgdir/usr/share/man/man1/crontab.1
|
||
|
install -D -m644 crond.8 $pkgdir/usr/share/man/man8/crond.8
|
||
|
mkdir -p $pkgdir/var/spool/cron $pkgdir/etc/cron.d
|
||
|
mkdir -p $pkgdir/etc/{rc.d,cron.hourly,cron.daily,cron.weekly,cron.monthly}
|
||
|
install -D -m0600 ../root.crontab $pkgdir/var/spool/cron/root
|
||
|
install -D -m755 ../crond $pkgdir/etc/rc.d/crond
|
||
|
install -D -m644 ../crond.logrotate $pkgdir/etc/logrotate.d/crond
|
||
|
install -D -m755 ../run-cron $pkgdir/usr/sbin/run-cron
|
||
|
}
|
||
|
|