diff options
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/fsniper/PKGBUILD | 38 |
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 - } |