1 # Maintainer: Schnouki <thomas.jost@gmail.com>
2 pkgname=universalindentgui-svn
5 pkgdesc="A GUI for GNU Indent, Uncrustify, Artistic Styler, PHP Stylist, Ruby Beautify, HTML Tidy and many other"
6 url="http://universanindentgui.sourceforge.net/"
9 depends=('qt' 'qscintilla')
10 makedepends=('subversion')
12 'astyle: a free, fast and small automatic formatter for C, C++, C# and Java',
13 'ident: the GNU pretty-printer',
14 'tidyhtml: a tool to tidy down your HTML code',
15 'uncrustify: source code beautifier for C-like languages'
20 _svntrunk=https://svn.sourceforge.net/svnroot/universalindent/trunk
21 _svnmod=universalindentgui
26 if [ -d $_svnmod/.svn ]; then
27 (cd $_svnmod && svn up -r $pkgver)
29 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
32 msg "SVN checkout done or server timeout"
33 msg "Starting make..."
35 cp -r $_svnmod $_svnmod-build
38 qmake UniversalIndentGUI.pro || return 1
41 make INSTALL_ROOT=${pkgdir} install || return 1
43 rm -rf ${srcdir}/$_svnmod-build