summaryrefslogtreecommitdiff
path: root/community/dcron/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/dcron/PKGBUILD')
-rw-r--r--community/dcron/PKGBUILD13
1 files changed, 9 insertions, 4 deletions
diff --git a/community/dcron/PKGBUILD b/community/dcron/PKGBUILD
index a84c051f3..3b84ce3bf 100644
--- a/community/dcron/PKGBUILD
+++ b/community/dcron/PKGBUILD
@@ -1,8 +1,10 @@
-# Maintainer: Paul Mattal <paul.archlinux.org>
+# $Id: PKGBUILD 72785 2012-06-22 12:49:56Z dreisner $
+# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
+# Contributor: Paul Mattal <paul.archlinux.org>
pkgname=dcron
pkgver=4.5
-pkgrel=2
+pkgrel=3
pkgdesc="dillon's lightweight cron daemon"
arch=('i686' 'x86_64')
license=('GPL')
@@ -11,10 +13,12 @@ backup=('var/spool/cron/root' 'etc/conf.d/crond')
depends=('bash')
provides=('cron')
conflicts=('cron')
-source=("http://www.jimpryor.net/linux/releases/${pkgname}-${pkgver}.tar.gz")
-md5sums=('078833f3281f96944fc30392b1888326')
optdepends=('smtp-server: sending cron job output via email')
install=$pkgname.install
+source=(http://www.jimpryor.net/linux/releases/${pkgname}-${pkgver}.tar.gz
+ service)
+md5sums=('078833f3281f96944fc30392b1888326'
+ '5a68a7aee883738e7f7f8549481bb297')
build() {
cd "$srcdir/${pkgname}-${pkgver}"
@@ -41,4 +45,5 @@ package() {
install -D -m644 extra/crontab.vim "$pkgdir/usr/share/vim/vimfiles/ftplugin/crontab.vim"
sed -i -e 's=/var/spool/cron/cronstamps=/var/spool/cronstamps=' extra/prune-cronstamps
install -D -m755 extra/prune-cronstamps "$pkgdir/etc/cron.d/prune-cronstamps"
+ install -Dm644 $srcdir/service $pkgdir/usr/lib/systemd/system/dcron.service
}