# $Id: PKGBUILD 75374 2012-08-21 15:13:14Z kkeen $ # Maintainer: Kyle Keen pkgname=python2-pyzmq pkgver=2.2.0.1 pkgrel=1 pkgdesc="Python2 bindings for zeromq, written in Cython" arch=(i686 x86_64) url="http://www.zeromq.org/bindings:python" license=('LGPL') depends=(zeromq python2) source=(https://github.com/zeromq/pyzmq/downloads/pyzmq-$pkgver.tar.gz) md5sums=('f2f80709e84c8ac72d6671eee645d804') build() { cd "$srcdir/pyzmq-$pkgver" sed -i 's|^#!/usr/bin/env python$|&2|' $(find ./ -name '*.py') python2 setup.py install --root="$pkgdir" --optimize=0 }