summaryrefslogtreecommitdiff
path: root/community/python2-pyzmq/PKGBUILD
blob: d0f18eb559a95ed0b3cc2f9852a999ceaffff140 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# $Id: PKGBUILD 71479 2012-05-27 09:07:00Z kkeen $
# Maintainer: Kyle Keen <keenerd at gmail dot com>
pkgname=python2-pyzmq
pkgver=2.2.0
pkgrel=1
pkgdesc="Python2 bindings for zeromq, written in Cython"
arch=(i686 x86_64 mips64el)
url="http://www.zeromq.org/bindings:python"
license=('LGPL')
depends=(zeromq python2)
source=(https://github.com/zeromq/pyzmq/downloads/pyzmq-$pkgver.tar.gz)
md5sums=('100b73973d6fb235b8da6adea403566e')

build() {
  cd "$srcdir/pyzmq-$pkgver"
  sed -i 's|^#!/usr/bin/env python$|&2|' $(find ./ -name '*.py')
  python2 setup.py install --root="$pkgdir" --optimize=0
}