1 # Maintainer: Surlyjake <surlyjake@gmail.com>
2 # Contributor: Marcelo Alaniz
6 pkgdesc="Free open source full-stack framework for rapid development of fast, scalable, secure and
7 portable database-driven web-based applications. Written and programmable in Python. "
9 url="http://www.web2py.com"
13 optdepends=('tk: GUI interface support')
14 source=('http://www.web2py.com/examples/static/web2py_src.zip')
15 md5sums=('a74e416acdd6dcd41e50a1a7a91b240c')
18 #fix python to point to python2
19 sed -i -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" $srcdir/web2py/web2py.py
22 mkdir -p $startdir/pkg/opt
23 cp -Rf $srcdir/web2py $startdir/pkg/opt
24 # Doesn't work properly when runnig from the symlinked web2py.py in /usr/bin/
25 #mkdir -p $startdir/pkg/usr/bin
26 #cd $startdir/pkg/usr/bin
27 #ln -s ../../opt/web2py/web2py.py web2py