summaryrefslogtreecommitdiffstats
path: root/abs/extra/gamin/PKGBUILD
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-04-27 18:55:03 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-04-27 18:55:03 (GMT)
commitaea443b8ba699ce899b5de1b8abe92764779db8a (patch)
tree027c0ca5e59a36fedbde0f7eb0c1df02b4969e9a /abs/extra/gamin/PKGBUILD
parent3d7290aa9f05bb5ff1c0bfe47108c833e01a2cfe (diff)
downloadlinhes_pkgbuild-aea443b8ba699ce899b5de1b8abe92764779db8a.zip
linhes_pkgbuild-aea443b8ba699ce899b5de1b8abe92764779db8a.tar.gz
linhes_pkgbuild-aea443b8ba699ce899b5de1b8abe92764779db8a.tar.bz2
gamin: dep of samba
Diffstat (limited to 'abs/extra/gamin/PKGBUILD')
-rw-r--r--abs/extra/gamin/PKGBUILD53
1 files changed, 53 insertions, 0 deletions
diff --git a/abs/extra/gamin/PKGBUILD b/abs/extra/gamin/PKGBUILD
new file mode 100644
index 0000000..495eab4
--- /dev/null
+++ b/abs/extra/gamin/PKGBUILD
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer:
+# Contributor: Abhishek Dasgupta <abhidg@gmail.com>
+# Contributor: Pulphix <crimea.v@libero.it>
+
+pkgname=gamin
+pkgver=0.1.10
+pkgrel=8
+pkgdesc='File and directory monitoring system defined to be a subset of the FAM (File Alteration Monitor)'
+url='http://www.gnome.org/~veillard/gamin'
+license=('GPL')
+arch=('x86_64')
+depends=('glib2')
+makedepends=('python2')
+optdepends=('python2: for the python module')
+provides=('fam')
+conflicts=('fam')
+source=("$url/sources/${pkgname}-${pkgver}.tar.gz"
+ 'fix-deprecated-const.patch'
+ '18_gam_server_deadlocks.patch'
+ '0001-Poll-files-on-nfs4.patch')
+md5sums=('b4ec549e57da470c04edd5ec2876a028'
+ 'f679aeb48fe9dd376c8828cc9b6941ab'
+ '4784359a3206bfa3c0dce1c23468f87f'
+ '6711cd0b1e8d2ad038c5761715d084a5')
+
+prepare() {
+ cd $pkgname-$pkgver
+
+ # https://bugs.archlinux.org/task/33642
+ patch -Np1 -i ../18_gam_server_deadlocks.patch
+
+ patch -Np1 -i ../fix-deprecated-const.patch
+ patch -Np1 -i ../0001-Poll-files-on-nfs4.patch
+
+ # python 2
+ sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' python/gamin.py
+}
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --disable-static --with-threads \
+ --disable-debug-api --disable-debug --libexecdir=/usr/lib/gamin \
+ --with-python=/usr/bin/python2
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et: