summaryrefslogtreecommitdiff
path: root/pcr/fsniper/PKGBUILD
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-05-12 20:19:30 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2017-05-12 20:19:30 -0400
commit9061cbd4eedbcef1cf33f4fbf49b1033d40aa4ac (patch)
tree318afd7503e06b1811f6875c16afeca4159cc2f3 /pcr/fsniper/PKGBUILD
parentded3ff17a6b9867b2938b3393309f2c07a8c9725 (diff)
parent12c5c1055815eca712cb6dc36e258dce2599b72f (diff)
downloadabslibre-9061cbd4eedbcef1cf33f4fbf49b1033d40aa4ac.tar.gz
abslibre-9061cbd4eedbcef1cf33f4fbf49b1033d40aa4ac.tar.bz2
abslibre-9061cbd4eedbcef1cf33f4fbf49b1033d40aa4ac.zip
Merge branch 'master' of git://projects.parabola.nu/abslibre/abslibre
Diffstat (limited to 'pcr/fsniper/PKGBUILD')
-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..49d04f200 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=('armv7h' '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
-
}