# $Id: PKGBUILD,v 1.2 2008/07/28 13:15:48 abhidg Exp $
# Maintainer: Abhishek Dasgupta <abhidg@gmail.com>
# Contributor: Pulphix <crimea.v@libero.it>

pkgname=gamin
pkgver=0.1.9
pkgrel=4
pkgdesc='Gamin is a file and directory monitoring system defined to be a subset of the FAM (File Alteration Monitor) system.'
url='http://www.gnome.org/~veillard/gamin'
license=('GPL')
arch=('i686' 'x86_64')
depends=('glib2')
options=('libtool')
provides=('fam')
conflicts=('fam')
source=("http://www.gnome.org/~veillard/gamin/sources/${pkgname}-${pkgver}.tar.gz")
md5sums=('2d3a6a70df090ed923238e381e6c2982')

build() {
	cd $startdir/src/$pkgname-$pkgver
	sed -i "s# -Wall# -Wall -D_GNU_SOURCE#g" configure || return 1
	./configure --prefix=/usr --disable-static --with-threads --without-python --disable-debug-api --disable-debug
	make || return 1
	make DESTDIR=$startdir/pkg install || return 1
}