summaryrefslogtreecommitdiff
path: root/pcr/fsniper
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2017-05-12 19:04:56 -0300
committerDavid P <megver83@parabola.nu>2017-05-12 19:04:56 -0300
commit7e4c54cb226e0fce167cc70e2d97848b074f11d8 (patch)
tree80fcc643d7ec0a55d737902f1e630bb086b0e5bf /pcr/fsniper
parentb5273d558094440b527a6b535068a38a063017e4 (diff)
downloadabslibre-7e4c54cb226e0fce167cc70e2d97848b074f11d8.tar.gz
abslibre-7e4c54cb226e0fce167cc70e2d97848b074f11d8.tar.bz2
abslibre-7e4c54cb226e0fce167cc70e2d97848b074f11d8.zip
Updated fsniper pkgrel
Diffstat (limited to 'pcr/fsniper')
-rw-r--r--pcr/fsniper/PKGBUILD38
1 files changed, 23 insertions, 15 deletions
diff --git a/pcr/fsniper/PKGBUILD b/pcr/fsniper/PKGBUILD
index 32ba4d2a7..26311090e 100644
--- a/pcr/fsniper/PKGBUILD
+++ b/pcr/fsniper/PKGBUILD
@@ -1,32 +1,40 @@
-# Initial Contributor (Arch): andrewy
-# Actual Contributor (Arch): Luca Cesari <luca.cesari@bewq.org>
+# Maintainer: David P. <megver83@parabola.nu>
+# Contributor: Javier Tiá <javier dot tia at gmail dot com>
+# Contributor: András Wacha <wacha dot andras at ttk dot mta dot hu>
-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"
+pkgrel=3
+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')
+makedepends=('autoconf' 'automake' 'libtool' 'gcc')
+source=("http://projects.l3ib.org/fsniper/files/${pkgname}-${pkgver}.tar.gz"
+ "wait3_argument.patch")
+sha256sums=('e65a34221fc05eb7ececcd2fb783e3418de032f89082e09be3a8f75f6b056e6b'
+ '60e8390538728b463845c595cb035529fbaaa311a54b6a12eaee2c53688de55d')
+arch=('i686' 'x86_64')
+
+prepare() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ patch -p1 <${srcdir}/wait3_argument.patch
+}
build() {
- cd ${srcdir}/$pkgname-$pkgver
+ cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr
- make
+ make || return 1
}
package() {
- cd ${srcdir}/$pkgname-$pkgver
+ cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
- install -m644 -D ${srcdir}/$pkgname-$pkgver/README \
+ install -m644 -D ${srcdir}/${pkgname}-${pkgver}/README \
${pkgdir}/usr/share/${pkgname}/README
- install -m644 -D ${srcdir}/$pkgname-$pkgver/example.conf \
+ install -m644 -D ${srcdir}/${pkgname}-${pkgver}/example.conf \
${pkgdir}/usr/share/${pkgname}/example.conf
-
}