# Maintainer: Zach van Rijn pkgname=gamin pkgver=0.1.10 pkgrel=13 pkgdesc="Library for file and directory monitoring" url="http://www.gnome.org/~veillard/gamin" arch="all" license="LGPL-2.0+" depends="" makedepends="glib-dev" subpackages="$pkgname-dev" source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.gz fix-deprecated-const.patch fix-pthread-mutex.patch deadlock.patch " prepare() { update_config_sub default_prepare } build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --disable-static \ --with-threads \ --without-python \ --disable-debug-api \ --disable-debug \ --libexecdir=/usr/lib/gamin make } check() { make check } package() { export MKDIRPROG="mkdir -p" make DESTDIR="$pkgdir" install } sha512sums="21bfe6fcf8fb3117cd5a08c8ce3b8d0d1dd23e478e60a95b76c20d02cc29b050dde086578d81037990484ff891c3e104d2cbbf3d294b4a79346b14a0cae075bb gamin-0.1.10.tar.gz c4c10bee70c7231db395cbfe5bdf513ade6be599a11a9d35888ddfaca42d619fe2b5e87c2b2bab469ea98ba718bc01711252313ba5f53c392379b669f5b2902b fix-deprecated-const.patch 70628fc39521ea8bc4a40b009d0881f6ee540334a31b2f0cb67dde0f75808c69feb78088ad24c3c4a0dec9fa59e87960fd81d1a2e56963ce9268d0a5e14f88e8 fix-pthread-mutex.patch 183bb2188fadc32c47ceab8c7fe339e7485c9a57f892b011179ae2be64a16f92e031fcdf2a55959a08c482a82adbad0f3270d1df7441532d0bdffa786ba1de94 deadlock.patch"