diff options
author | root <root@rshg054.dnsready.net> | 2013-05-29 01:29:52 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-05-29 01:29:52 -0700 |
commit | d267e861074512027414df29d18d9824e0faae8f (patch) | |
tree | 770bb482bb715a84eab76bfbfa1b748d31a13541 /community/incron | |
parent | 72a09de07cab5e8ad5c3ec7c36814663a3f7a33b (diff) |
Wed May 29 01:29:24 PDT 2013
Diffstat (limited to 'community/incron')
-rw-r--r-- | community/incron/PKGBUILD | 13 | ||||
-rw-r--r-- | community/incron/incron.install | 5 | ||||
-rw-r--r-- | community/incron/incrond.service | 2 |
3 files changed, 12 insertions, 8 deletions
diff --git a/community/incron/PKGBUILD b/community/incron/PKGBUILD index 21370d6af..1324e7b0a 100644 --- a/community/incron/PKGBUILD +++ b/community/incron/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 90677 2013-05-13 14:26:58Z spupykin $ +# $Id: PKGBUILD 91858 2013-05-28 17:27:08Z 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=4 +pkgrel=5 pkgdesc="Like the regular cron but is driven by filesystem events instead of time periods" arch=('i686' 'x86_64') url="http://incron.aiken.cz/" @@ -16,13 +16,18 @@ options=('emptydirs') source=("http://inotify.aiken.cz/download/incron/$pkgname-$pkgver.tar.gz" 'incrond.service') md5sums=('67f8b671db8169edccc8ef11c7d2c8be' - '859a90af9e4efe40db381ea07167a66a') + '4be206ba6ecacd9d2006cdc72b4604db') -build() { +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 } diff --git a/community/incron/incron.install b/community/incron/incron.install index fa42d9cdc..9cb53bbe6 100644 --- a/community/incron/incron.install +++ b/community/incron/incron.install @@ -8,7 +8,6 @@ post_install () { pre_remove() { [ -h /var/service/incron ] && rm /var/service/incron - /etc/rc.d/incron stop - usr/sbin/userdel incron >& /dev/null - usr/sbin/groupdel incron >& /dev/null + userdel incron >& /dev/null + groupdel incron >& /dev/null } diff --git a/community/incron/incrond.service b/community/incron/incrond.service index 54fcfa9d2..d46814bf3 100644 --- a/community/incron/incrond.service +++ b/community/incron/incrond.service @@ -4,7 +4,7 @@ Description=Inotify System Scheduler [Service] Type=forking PIDFile=/run/incrond.pid -ExecStart=/usr/sbin/incrond +ExecStart=/usr/bin/incrond [Install] WantedBy=multi-user.target |