1 # Maintainer: Tom Vincent <http://tlvince.com/contact/>
2 pkgname=python2-mkdn-git
5 pkgdesc="Markdown previewer (python, gtk, webkit)"
7 url="https://github.com/rupa/mkdn"
9 depends=('python2' 'pywebkitgtk' 'python-markdown')
13 md5sums=(a86b4a5949cc4d87383e08ad2af7d43f)
15 _gitroot=git://github.com/rupa/mkdn.git
20 msg "Connecting to GIT server...."
22 if [[ -d "$_gitname" ]]; then
23 cd "$_gitname" && git pull origin
24 msg "The local files are updated."
26 git clone "$_gitroot" "$_gitname"
29 msg "GIT checkout done or server timeout"
35 cp "$startdir/setup.py" .
36 python2 setup.py install --root="$pkgdir/" --optimize=1
39 # vim:set ts=2 sw=2 et: