summaryrefslogtreecommitdiff
path: root/pcr/fsniper
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2013-10-25 17:16:56 -0200
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2013-10-25 17:16:56 -0200
commit79c2013cb43724c917c3a181f98b00007c140742 (patch)
treeca934ee33b38171a0dcf04b578b7a85b310ff276 /pcr/fsniper
parentb932a6157a18a66b4f8b502dc192ffceeb119958 (diff)
parent633d6a798a7dc21063443a9388cd85503344a751 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/fsniper')
-rw-r--r--pcr/fsniper/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
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 <luca.cesari@bewq.org>
+
+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
+
+}