1 # Contributor: boypt <pentie at gmail.com>
2 # Maintainer: Daniel YC Lin <dlin.tw at gmail.com>
7 pkgdesc="Cython based Python bindings for 0MQ(zeromq)."
9 url="http://www.zeromq.org/bindings:python"
11 depends=(zeromq python2)
12 makedepends=('git' 'cython')
14 _gitroot="http://github.com/zeromq/pyzmq.git"
19 msg "Connecting to GIT server...."
21 if [ -d $_gitname ] ; then
22 cd $_gitname && git pull origin
23 msg "The local files are updated."
25 git clone $_gitroot $_gitname
28 msg "GIT checkout done or server timeout"
29 msg "Starting make..."
31 rm -rf "$srcdir/$_gitname-build"
32 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
33 cd "$srcdir/$_gitname-build"
38 python2 setup.py build||return 1
42 cd "$srcdir/$_gitname-build"
43 python2 setup.py install --root="$pkgdir"
46 # vim:set ts=2 sw=2 et: