diff options
author | root <root@rshg054.dnsready.net> | 2013-05-22 00:46:35 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-05-22 00:46:35 -0700 |
commit | bdf2189826c1931878cedc2262f67f6fd3c0ef15 (patch) | |
tree | 36ebbf884af31c36516746e43961ddf1f88fd452 /core/cronie/PKGBUILD | |
parent | 4a7d2439a50adfa30bed83cc92ee80ec62476a20 (diff) |
Wed May 22 00:46:35 PDT 2013
Diffstat (limited to 'core/cronie/PKGBUILD')
-rw-r--r-- | core/cronie/PKGBUILD | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/core/cronie/PKGBUILD b/core/cronie/PKGBUILD index ab03530b2..e45d47fa8 100644 --- a/core/cronie/PKGBUILD +++ b/core/cronie/PKGBUILD @@ -3,7 +3,7 @@ pkgname='cronie' pkgver=1.4.9 -pkgrel=2 +pkgrel=4 pkgdesc='Daemon that runs specified programs at scheduled times and related tools' url='https://fedorahosted.org/cronie/' license=('custom:BSD') @@ -16,13 +16,11 @@ optdepends=('pm-utils: defer anacron on battery power' source=("https://fedorahosted.org/releases/c/r/${pkgname}/${pkgname}-${pkgver}.tar.gz" 'cron.deny' 'service' - 'pam.d' - 'rc.d') + 'pam.d') sha1sums=('40405cb30b62bd60323e4daf5198f26f0e65c4c4' '0f279b8fb820340267d578dc85511c980715f91e' - 'fa91ebee59df127ff3983b8d6fb9e1cc5fca53d0' - '5eff7fb31f6bc0a924243ff046704726cf20c221' - 'c08c040ed5cb12bc4fd15639a5242d31ec247ef5') + 'de455f11a310e64d6930390e57726ed70f3295d0' + '5eff7fb31f6bc0a924243ff046704726cf20c221') backup=('etc/anacrontab' 'etc/conf.d/crond' @@ -33,6 +31,11 @@ conflicts=('cron') provides=('cron') groups=('base') +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}" + sed 's:usr/sbin:usr/bin:g' -i contrib/0anacron +} + build() { cd "${srcdir}/${pkgname}-${pkgver}" @@ -40,6 +43,7 @@ build() { --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ + --sbindir=/usr/bin \ --enable-anacron \ --with-inotify \ --with-pam \ @@ -56,7 +60,6 @@ package() { install -d "${pkgdir}"/var/spool/{ana,}cron install -d "${pkgdir}"/etc/cron.{d,hourly,daily,weekly,monthly} - install -Dm755 ../rc.d "${pkgdir}"/etc/rc.d/crond install -Dm644 ../pam.d "${pkgdir}"/etc/pam.d/crond install -Dm644 ../cron.deny "${pkgdir}"/etc/cron.deny install -Dm644 ../service "${pkgdir}"/usr/lib/systemd/system/cronie.service |