updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / python-web2py / PKGBUILD
blob61abfb570a2f5710c299f09103ed272ed9d6e44a
1 # Maintainer: Surlyjake <surlyjake@gmail.com>
2 # Contributor: Marcelo Alaniz
3 pkgname=python-web2py
4 pkgver=1.99.4
5 pkgrel=1
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. "
8 arch=('i686' 'x86_64')
9 url="http://www.web2py.com"
10 license=('LGPL3')
11 depends=('python2')
12 makedepends=('unzip')
13 optdepends=('tk: GUI interface support')
14 source=('http://www.web2py.com/examples/static/web2py_src.zip')
15 md5sums=('a74e416acdd6dcd41e50a1a7a91b240c')
17 build() {
18 #fix python to point to python2
19 sed -i -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" $srcdir/web2py/web2py.py
21 package() {
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