1 # Maintainer: M Rawash <mrawash@gmail.com>
2 # Maintainer: wido <widomaker2k7@gmail.com>
7 pkgdesc="Python2 bindings for inotify - git version"
9 url="http://trac.dbzteam.org/pyinotify"
11 depends=('kernel26>=2.6.13' 'python2')
12 provides=('pyinotify2')
13 conflicts=('pyinotify2')
14 replaces=('pyinotify2')
16 _gitroot="https://github.com/seb-m/pyinotify.git"
20 msg "Connecting to gitorious.org GIT server...."
22 if [ -d $srcdir/$_gitname ] ; then
23 cd $_gitname && git pull origin
24 msg "The local files are updated."
29 msg "GIT checkout done or server timeout"
30 msg "Starting make..."
32 rm -rf ${srcdir}/${_gitname}-build
33 cp -r ${srcdir}/${_gitname} ${srcdir}/${_gitname}-build
35 cd $srcdir/$_gitname-build
36 python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1