summaryrefslogtreecommitdiff
path: root/community/incron/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/incron/PKGBUILD')
-rw-r--r--community/incron/PKGBUILD47
1 files changed, 0 insertions, 47 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
-}