summaryrefslogtreecommitdiff
path: root/extra/gamin/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-10-28 01:15:28 -0700
committerroot <root@rshg054.dnsready.net>2013-10-28 01:15:28 -0700
commit1a32448c2c53b0e66ce0fe14c5dd2057afd432bc (patch)
treed94819e60d05fada511b43feec6f7e46386a215a /extra/gamin/PKGBUILD
parent2886140ddb1db32f36cb0b27e93888442a603a53 (diff)
Mon Oct 28 01:14:27 PDT 2013
Diffstat (limited to 'extra/gamin/PKGBUILD')
-rw-r--r--extra/gamin/PKGBUILD32
1 files changed, 20 insertions, 12 deletions
diff --git a/extra/gamin/PKGBUILD b/extra/gamin/PKGBUILD
index a039cbfef..d0d1706fb 100644
--- a/extra/gamin/PKGBUILD
+++ b/extra/gamin/PKGBUILD
@@ -1,46 +1,54 @@
-# $Id: PKGBUILD 30749 2010-10-20 11:18:33Z schuay $
+# $Id: PKGBUILD 197583 2013-10-27 02:51:46Z heftig $
# Maintainer:
# Contributor: Abhishek Dasgupta <abhidg@gmail.com>
# Contributor: Pulphix <crimea.v@libero.it>
pkgname=gamin
pkgver=0.1.10
-pkgrel=7
+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=('i686' 'x86_64')
depends=('glib2')
makedepends=('python2')
-options=('libtool')
-optdepends=('python2: for the python module.')
+optdepends=('python2: for the python module')
provides=('fam')
conflicts=('fam')
-source=("http://www.gnome.org/~veillard/${pkgname}/sources/${pkgname}-${pkgver}.tar.gz"
+options=('!libtool')
+source=("$url/sources/${pkgname}-${pkgver}.tar.gz"
'fix-deprecated-const.patch'
- '18_gam_server_deadlocks.patch')
+ '18_gam_server_deadlocks.patch'
+ '0001-Poll-files-on-nfs4.patch')
md5sums=('b4ec549e57da470c04edd5ec2876a028'
'f679aeb48fe9dd376c8828cc9b6941ab'
- '4784359a3206bfa3c0dce1c23468f87f')
+ '4784359a3206bfa3c0dce1c23468f87f'
+ '6711cd0b1e8d2ad038c5761715d084a5')
-build() {
- cd "$srcdir/$pkgname-$pkgver"
+prepare() {
+ cd $pkgname-$pkgver
# https://bugs.archlinux.org/task/33642
- patch -p1 -i "${srcdir}"/18_gam_server_deadlocks.patch
+ patch -Np1 -i ../18_gam_server_deadlocks.patch
- patch -p1 -i "${srcdir}"/fix-deprecated-const.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 "$srcdir/$pkgname-$pkgver"
+ cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
}
+
# vim:set ts=2 sw=2 et: