summaryrefslogtreecommitdiff
path: root/extra/gamin
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-08-25 23:14:43 +0000
committerroot <root@rshg054.dnsready.net>2011-08-25 23:14:43 +0000
commit9621cbabd4788b98dfdee59d784c4b4b58384c6b (patch)
tree8dbd549f0f81a825febf0db7fbf641db995459be /extra/gamin
parentf53c212680c1817ef2337855ef8814dea6b07e4e (diff)
Thu Aug 25 23:14:43 UTC 2011
Diffstat (limited to 'extra/gamin')
-rw-r--r--extra/gamin/PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/extra/gamin/PKGBUILD b/extra/gamin/PKGBUILD
new file mode 100644
index 000000000..4978855d6
--- /dev/null
+++ b/extra/gamin/PKGBUILD
@@ -0,0 +1,36 @@
+# $Id: PKGBUILD 30749 2010-10-20 11:18:33Z schuay $
+# Contributor: Abhishek Dasgupta <abhidg@gmail.com>
+# Contributor: Pulphix <crimea.v@libero.it>
+
+pkgname=gamin
+pkgver=0.1.10
+pkgrel=5
+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=('i686' 'x86_64')
+depends=('glib2')
+makedepends=('python2')
+options=('libtool')
+optdepends=('python2: for the python module.')
+provides=('fam')
+conflicts=('fam')
+source=("http://www.gnome.org/~veillard/${pkgname}/sources/${pkgname}-${pkgver}.tar.gz")
+md5sums=('b4ec549e57da470c04edd5ec2876a028')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # python 2
+ sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' python/gamin.py
+
+ ./configure --prefix=/usr --disable-static --with-threads \
+ --disable-debug-api --disable-debug --libexecdir=/usr/lib/gamin \
+ --with-python=/usr/bin/python2
+ make
+}
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+}
+# vim:set ts=2 sw=2 et: