Want more features on Pastebin? Sign Up, it's FREE!
Guest

fsniper PKGBUILD

By: a guest on Jul 15th, 2013  |  syntax: Bash  |  size: 0.83 KB  |  views: 47  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. arch=(i686 x86_64)
  2. pkgname=fsniper
  3. pkgver=1.3.1
  4. pkgrel=2
  5. pkgdesc="Daemon to run scripts based on changes in files monitored by inotify"
  6. url="http://projects.l3ib.org/fsniper/"
  7. license="GPL3"
  8. depends=('pcre' 'file')
  9. makedepends=('autoconf' 'automake' 'libtool' 'gcc')
  10. replaces=(fsniper-git)
  11. source=(http://projects.l3ib.org/fsniper/files/$pkgname-$pkgver.tar.gz)
  12. md5sums=('62f30bb4b00f9499499d83a30281f10f')
  13.  
  14. build() {
  15.   cd ${srcdir}/$pkgname-$pkgver
  16.  
  17.   ./configure --prefix=/usr
  18.   make || return 1
  19. }
  20.  
  21. package() {
  22.   cd ${srcdir}/$pkgname-$pkgver
  23.  
  24.   make DESTDIR=${pkgdir} install
  25.  
  26.   install -m644 -D ${srcdir}/$pkgname-$pkgver/README \
  27.                    ${pkgdir}/usr/share/${pkgname}/README
  28.   install -m644 -D ${srcdir}/$pkgname-$pkgver/example.conf \
  29.                    ${pkgdir}/usr/share/${pkgname}/example.conf
  30.  
  31. }
clone this paste RAW Paste Data