updated on Sat Jan 14 00:11:12 UTC 2012
[aur-mirror.git] / python-pybindgen / PKGBUILD
blobc8a29072a76bb1f4715e2d3d916a2e137743b107
1 # $Id: pkgbuild-mode.el,v 1.23 2007/10/20 16:02:14 juergen Exp $
2 # Maintainer: Sebastien Binet <binet@lblbox>
3 pkgname=python-pybindgen
4 pkgver=0.15.0
5 pkgrel=2
6 pkgdesc="A tool to generate Python bindings for C/C++ code"
7 url="http://pypi.python.org/pypi/PyBindGen"
8 arch=('i686' 'x86_64')
9 license=('LGPL')
10 depends=('python2')
11 makedepends=('python-waf')
12 backup=()
13 install=
14 source=(http://pybindgen.googlecode.com/files/pybindgen-${pkgver}.zip)
15 md5sums=('e4c8b4e68c32216b3deda510e7fb2ebb')
17 build() {
18   cd $startdir/src/pybindgen-$pkgver
19   PYTHON=python2 python2 ./waf configure --prefix=/usr || return 1
20   PYTHON=python2 python2 ./waf || return 1
21   PYTHON=python2 python2 ./waf install --prefix=/usr --destdir=$startdir/pkg || return 1