diff options
author | root <root@rshg054.dnsready.net> | 2013-08-11 01:21:34 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-11 01:21:34 -0700 |
commit | 18a41d682d6e91e0d28fce23eb75292f477bd620 (patch) | |
tree | bce8f660d7d0b6541cadbc49bf1bac2434e4c0c6 /community/incron | |
parent | 0ade1da67addf154d93c6a6399b0a3d5a18a3336 (diff) |
Sun Aug 11 01:21:31 PDT 2013
Diffstat (limited to 'community/incron')
-rw-r--r-- | community/incron/PKGBUILD | 47 | ||||
-rw-r--r-- | community/incron/incron.install | 13 | ||||
-rw-r--r-- | community/incron/incrond.service | 10 |
3 files changed, 0 insertions, 70 deletions
diff --git a/community/incron/PKGBUILD b/community/incron/PKGBUILD deleted file mode 100644 index 7417beb4a..000000000 --- a/community/incron/PKGBUILD +++ /dev/null @@ -1,47 +0,0 @@ -# $Id: PKGBUILD 91949 2013-05-30 09:42:30Z spupykin $ -# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> -# Contributor: Roberto Alsina <ralsina@kde.org> -# Contributor: scj <scj(at)archlinux(dot)us> - -pkgname=incron -pkgver=0.5.10 -pkgrel=6 -pkgdesc="Like the regular cron but is driven by filesystem events instead of time periods" -arch=('i686' 'x86_64') -url="http://incron.aiken.cz/" -license=('GPL') -depends=('gcc-libs' 'bash') -install=incron.install -options=('emptydirs') -source=("http://inotify.aiken.cz/download/incron/$pkgname-$pkgver.tar.gz" - 'incrond.service') -md5sums=('67f8b671db8169edccc8ef11c7d2c8be' - '4be206ba6ecacd9d2006cdc72b4604db') - -prepare() { - cd "${srcdir}"/$pkgname-$pkgver - sed -i '1,1i#include <unistd.h>' inotify-cxx.cpp icd-main.cpp - sed -i '1,1i#include <stdio.h>' icd-main.cpp inotify-cxx.cpp usertable.cpp appargs.cpp - sed -i 's|strchr(s,|(char*)strchr(s,|' incroncfg.cpp - sed -i 's|$(DESTDIR)$(PREFIX)/sbin/|$(DESTDIR)$(PREFIX)/bin/|g' Makefile -} - -build() { - cd "${srcdir}"/$pkgname-$pkgver - make -} - -package() { - cd "${srcdir}"/$pkgname-$pkgver - - install -d "${pkgdir}"/usr/share/man "${pkgdir}"/usr/{s,}bin - - make PREFIX="${pkgdir}"/usr \ - MANPATH="${pkgdir}"/usr/share/man \ - USERDATADIR="${pkgdir}"/var/spool/incron \ - CFGDIR="${pkgdir}"/etc \ - SYSDATADIR="${pkgdir}"/etc/incron.d install - - install -Dm0644 "${srcdir}/incrond.service" "${pkgdir}/usr/lib/systemd/system/incrond.service" - rmdir $pkgdir/usr/sbin -} diff --git a/community/incron/incron.install b/community/incron/incron.install deleted file mode 100644 index 9cb53bbe6..000000000 --- a/community/incron/incron.install +++ /dev/null @@ -1,13 +0,0 @@ -post_install () { - # Check user/group incron exists - getent group incron > /dev/null || groupadd -r incron - getent passwd incron > /dev/null || useradd -r -c "Incron system" -g incron -s /bin/false -d /var/spool/incron incron - # Fix permissions - chown incron.incron -R /var/spool/incron -} - -pre_remove() { - [ -h /var/service/incron ] && rm /var/service/incron - userdel incron >& /dev/null - groupdel incron >& /dev/null -} diff --git a/community/incron/incrond.service b/community/incron/incrond.service deleted file mode 100644 index d46814bf3..000000000 --- a/community/incron/incrond.service +++ /dev/null @@ -1,10 +0,0 @@ -[Unit] -Description=Inotify System Scheduler - -[Service] -Type=forking -PIDFile=/run/incrond.pid -ExecStart=/usr/bin/incrond - -[Install] -WantedBy=multi-user.target |