1 # Maintainer: Ludovic Fauvet < etix (at) l0cal (dot) com >
6 pkgdesc='Python input filter for Doxygen.'
7 url='http://github.com/0xCAFEBABE/doxypy'
11 makedepends=('git' 'setuptools')
12 conflicts=('doxypy' 'doxypy-git')
13 replaces=('doxypy' 'doxypy-git')
15 _gitroot='git://github.com/0xCAFEBABE/doxypy.git'
23 msg "Connecting to GIT server...."
25 if [ -d "${srcdir}/${_gitname}" ] ; then
26 cd ${_gitname} && git pull --rebase
31 msg "GIT checkout done or server timeout"
33 if [ -d $_gitname-build ]; then
34 msg 'Removing old build directory'
35 rm -rf $_gitname-build
38 msg 'Copying repository to another build directory'
39 cp -r $srcdir/$_gitname $srcdir/$_gitname-build
42 cd $srcdir/$_gitname-build/src/
44 msg 'Running setup.py'
45 python setup.py build || return 1
46 python setup.py install --root=$pkgdir || return 1