summaryrefslogtreecommitdiff
path: root/community/fcron/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/fcron/PKGBUILD')
-rwxr-xr-xcommunity/fcron/PKGBUILD15
1 files changed, 10 insertions, 5 deletions
diff --git a/community/fcron/PKGBUILD b/community/fcron/PKGBUILD
index 817ceef09..8aa35f054 100755
--- a/community/fcron/PKGBUILD
+++ b/community/fcron/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 72128 2012-06-08 23:36:39Z dreisner $
+# $Id: PKGBUILD 72788 2012-06-22 12:50:42Z dreisner $
# Contributor: Giorgio Lando <lando at imap dot cc>
# Contributor: Sergej Pupykin
# Contributor: Thomas Bächler
@@ -6,7 +6,7 @@
pkgname=fcron
pkgver=3.0.6
-pkgrel=6
+pkgrel=7
pkgdesc="feature-rich cron implementation"
arch=(i686 x86_64)
url="http://fcron.free.fr"
@@ -20,12 +20,13 @@ backup=(etc/fcron/fcron.conf etc/fcron/fcron.allow etc/fcron/fcron.deny \
var/spool/fcron/systab var/spool/fcron/systab.orig)
options=('emptydirs' '!makeflags')
source=(http://fcron.free.fr/archives/$pkgname-$pkgver.src.tar.gz fcron.rc \
- systab systab.orig run-cron)
-md5sums=('ced7ca753517eac67502f3fec3908d39'
+ systab systab.orig run-cron fcron.service)
+md5sums=('69ebcb41921e2a282f41ebecb3a27053'
'e0c3f0bdc3c98fbbe46eff19001c18f2'
'938722c6654ef7b07f4aa10001905ba1'
'bfb7daa22ebe22b9917e455c1ca4a382'
- '5ff0cdcb9ec99778938ac6ef26800327')
+ '5ff0cdcb9ec99778938ac6ef26800327'
+ 'ab589cc6813ec32b5e96bf05c2b51c4c')
build() {
cd "$srcdir/$pkgname-$pkgver"
@@ -68,6 +69,10 @@ package() {
# Install run-cron script to make fcron run without dcron
install -D -m755 "$srcdir/run-cron" "$pkgdir/usr/sbin/run-cron"
+ # Install systemd service
+ install -D -m644 "$srcdir/fcron.service" \
+ "$pkgdir/usr/lib/systemd/system/fcron.service"
+
# avoid conflict with filesystem>=2012.06
rmdir "$pkgdir/var/run"
}