[arch-commits] Commit in incron/repos/community-x86_64 (6 files)
Sergej Pupykin
spupykin at archlinux.org
Tue Feb 10 17:02:35 UTC 2015
Date: Tuesday, February 10, 2015 @ 18:02:35
Author: spupykin
Revision: 127508
archrelease: copy trunk to community-x86_64
Added:
incron/repos/community-x86_64/PKGBUILD
(from rev 127507, incron/trunk/PKGBUILD)
incron/repos/community-x86_64/incron.install
(from rev 127507, incron/trunk/incron.install)
incron/repos/community-x86_64/incrond.service
(from rev 127507, incron/trunk/incrond.service)
Deleted:
incron/repos/community-x86_64/PKGBUILD
incron/repos/community-x86_64/incron.install
incron/repos/community-x86_64/incrond.service
-----------------+
PKGBUILD | 94 +++++++++++++++++++++++++++---------------------------
incron.install | 24 ++++++-------
incrond.service | 20 +++++------
3 files changed, 68 insertions(+), 70 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2015-02-10 17:02:08 UTC (rev 127507)
+++ PKGBUILD 2015-02-10 17:02:35 UTC (rev 127508)
@@ -1,47 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Roberto Alsina <ralsina at 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
-}
Copied: incron/repos/community-x86_64/PKGBUILD (from rev 127507, incron/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2015-02-10 17:02:35 UTC (rev 127508)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Roberto Alsina <ralsina at kde.org>
+# Contributor: scj <scj(at)archlinux(dot)us>
+
+pkgname=incron
+pkgver=0.5.10
+pkgrel=7
+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
+}
Deleted: incron.install
===================================================================
--- incron.install 2015-02-10 17:02:08 UTC (rev 127507)
+++ incron.install 2015-02-10 17:02:35 UTC (rev 127508)
@@ -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
-}
Copied: incron/repos/community-x86_64/incron.install (from rev 127507, incron/trunk/incron.install)
===================================================================
--- incron.install (rev 0)
+++ incron.install 2015-02-10 17:02:35 UTC (rev 127508)
@@ -0,0 +1,11 @@
+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
+}
Deleted: incrond.service
===================================================================
--- incrond.service 2015-02-10 17:02:08 UTC (rev 127507)
+++ incrond.service 2015-02-10 17:02:35 UTC (rev 127508)
@@ -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
Copied: incron/repos/community-x86_64/incrond.service (from rev 127507, incron/trunk/incrond.service)
===================================================================
--- incrond.service (rev 0)
+++ incrond.service 2015-02-10 17:02:35 UTC (rev 127508)
@@ -0,0 +1,10 @@
+[Unit]
+Description=Inotify System Scheduler
+
+[Service]
+Type=forking
+PIDFile=/run/incrond.pid
+ExecStart=/usr/bin/incrond
+
+[Install]
+WantedBy=multi-user.target
More information about the arch-commits
mailing list