1 # Maintainer: Panagiotis Mavrogiorgos (pmav99) <> (gmail)
6 pkgdesc="A Python compiler to machine-code."
8 url="http://www.nuitka.net/blog/"
19 _gitroot='http://git.nuitka.net/Nuitka.git'
24 if [ -d "${srcdir}/${_gitname}" ]
26 msg "Updating local repository..."
27 cd "${srcdir}/${_gitname}"
28 git pull origin develop || return 1
29 msg "The local files are updated."
31 git clone --branch develop ${_gitroot}/ ${_gitname}
33 msg "git checkout done or server timeout"
35 if [ -d "${srcdir}/${_gitname}-build" ]
37 rm -rf "${srcdir}/${_gitname}-build"
39 cp -r "${srcdir}/${_gitname}" "${srcdir}/${_gitname}-build"
41 msg "Starting make..."
46 # Install using setup.py
47 cd "${srcdir}/${_gitname}-build"
48 python2 setup.py install --root="${pkgdir}/" --optimize=1