1 # This is an example PKGBUILD file. Use this as a start to creating your own,
2 # and remove these comments. For more information, see 'man PKGBUILD'.
3 # NOTE: Please fill out the license field for your package! If it is unknown,
4 # then please put 'unknown'.
6 # See http://wiki.archlinux.org/index.php/VCS_PKGBUILD_Guidelines
7 # for more information on packaging from bazaar sources.
9 # Contributor: Alexandre Défossez <alexandre.defossez at google famous mailing service>
13 pkgdesc="Epydoc is a tool for generating API documentation for Python modules,based on their docstrings."
15 url="http://epydoc.sourceforge.net/"
18 depends=('python2' 'graphviz' 'docutils')
19 makedepends=('subversion')
31 msg "Downloading latest svn version..."
33 svn co https://epydoc.svn.sourceforge.net/svnroot/epydoc/trunk/epydoc $srcdir/svn_src
35 rm -rf "$srcdir/svn-build"
36 cp -r "$srcdir/svn_src/src" "$srcdir/svn-build"
37 cd "$srcdir/svn-build"
39 python2 setup.py build || return 1
43 cd "$srcdir/svn-build"
44 python2 setup.py install --root="$pkgdir" || return 1
45 install -D -m644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE