Skip to content

Instantly share code, notes, and snippets.

@vlastikcz
Created May 31, 2013 20:06
Show Gist options
  • Save vlastikcz/5687619 to your computer and use it in GitHub Desktop.
Save vlastikcz/5687619 to your computer and use it in GitHub Desktop.
python-web2py PKGBUILD
pkgname=python-web2py
pkgver=2.4.7
pkgrel=1
pkgdesc="Free open source full-stack framework for rapid development of fast, scalable, secure and
portable database-driven web-based applications. Written and programmable in Python. "
arch=('i686' 'x86_64')
url="http://www.web2py.com"
license=('LGPL3')
depends=('python2')
makedepends=('unzip')
optdepends=('tk: GUI interface support')
source=('http://www.web2py.com/examples/static/web2py_src.zip')
md5sums=('dbc32cec26b385d25f5e7c50400e04f7')
build() {
#fix python to point to python2
sed -i -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" $srcdir/web2py/web2py.py
}
package() {
mkdir -p "${pkgdir}"/opt
cp -Rf $srcdir/web2py "${pkgdir}"/opt
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment