1 # Contributor: solsTiCe d'Hiver <solstice.dhiver@gmail.com>
6 pkgdesc="Static blog generator in python, using ReST syntax"
8 url="http://alexis.notmyidea.org/pelican/"
10 depends=('python2-jinja' 'python-feedgenerator' 'python2-pygments' 'python2-pytz' 'docutils' 'python-markdown')
16 _gitroot="https://github.com/ametaireau/pelican.git"
21 msg "Connecting to GIT server...."
23 if [ -d $_gitname ] ; then
24 cd $_gitname && git pull origin
25 msg "The local files are updated."
27 git clone $_gitroot $_gitname
30 msg "GIT checkout done or server timeout"
31 msg "Starting make..."
33 rm -rf "$srcdir/$_gitname-build"
34 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
36 cd "$srcdir/$_gitname-build"
37 python2 ./setup.py install --root=$pkgdir
38 rm -f $pkgdir/usr/bin/*.bat