# $Id: PKGBUILD 128716 2015-03-04 12:37:12Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Alessandro Sagratini

pkgname=inotify-tools
pkgver=3.14
pkgrel=4
pkgdesc="inotify-tools is a C library and a set of command-line programs for Linux providing a simple interface to inotify."
arch=('i686' 'x86_64')
#url="http://inotify-tools.sourceforge.net/"
url="https://github.com/rvoicilas/inotify-tools"
license=('GPL')
depends=()
makedepends=('gcc' 'make' 'doxygen' 'git')
options=('docs')
#source=(http://github.com/downloads/rvoicilas/inotify-tools/inotify-tools-$pkgver.tar.gz)
source=("git://github.com/rvoicilas/inotify-tools.git#commit=1df9af4d6cd0f4af4b1b19254bcf056aed4ae395")
md5sums=('SKIP')

build() {
  cd $srcdir/$pkgname
  ./autogen.sh
  ./configure --prefix=/usr
  make
}

package() {
  cd $srcdir/$pkgname
  make DESTDIR=$pkgdir install
}
