From cdec73c802c895f8dde2ade96085ee31e16d9662 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Fri, 25 Oct 2013 14:45:57 -0300 Subject: fsniper - inotify monitor --- pcr/fsniper/PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 pcr/fsniper/PKGBUILD (limited to 'pcr/fsniper') diff --git a/pcr/fsniper/PKGBUILD b/pcr/fsniper/PKGBUILD new file mode 100644 index 000000000..bf7e3a6c3 --- /dev/null +++ b/pcr/fsniper/PKGBUILD @@ -0,0 +1,32 @@ +# Initial Contributor: andrewy +# Actual Contributor: Luca Cesari + +arch=(i686 x86_64) +pkgname=fsniper +pkgver=1.3.1 +pkgrel=2 +pkgdesc="Daemon to run scripts based on changes in files monitored by inotify" +url="http://projects.l3ib.org/fsniper/" +license="GPL3" +depends=('pcre' 'file') +source=(http://projects.l3ib.org/fsniper/files/$pkgname-$pkgver.tar.gz) +md5sums=('62f30bb4b00f9499499d83a30281f10f') + +build() { + cd ${srcdir}/$pkgname-$pkgver + + ./configure --prefix=/usr + make +} + +package() { + cd ${srcdir}/$pkgname-$pkgver + + make DESTDIR=${pkgdir} install + + install -m644 -D ${srcdir}/$pkgname-$pkgver/README \ + ${pkgdir}/usr/share/${pkgname}/README + install -m644 -D ${srcdir}/$pkgname-$pkgver/example.conf \ + ${pkgdir}/usr/share/${pkgname}/example.conf + +} -- cgit v1.2.3