1 # Contributor: furester <furester at gmail dot com>
2 # Contributor: Changaco <changaco ατ changaco δοτ net>
4 pkgname="python2-edje-svn"
7 pkgdesc="A graphical design and layout library based on Evas (Python bindings)"
9 url="http://www.enlightenment.org"
11 depends=('edje-svn' 'python2' 'python2-evas-svn')
12 makedepends=('svn' 'cython' 'pyrex' 'python2-evas-svn')
14 _svntrunk="http://svn.enlightenment.org/svn/e/trunk/BINDINGS/python/python-edje/"
20 msg "Connecting to $_svntrunk SVN server...."
21 if [ -d $_svnmod/.svn ]; then
22 (cd $_svnmod && svn up -r $pkgver)
24 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
27 msg "SVN checkout done or server timeout"
28 msg "Starting make..."
32 export PYTHON="/usr/bin/python2"
33 ./autogen.sh --prefix=/usr
35 make install DESTDIR=$pkgdir
36 sed -i -e 's@^#! */usr/bin.*python@#!/usr/bin/env python2@' $(find $pkgdir -name '*.py')