1 # Maintainer: Yarema aka Knedlyk <yupadmin@gmail.com>
6 pkgdesc="TeXstudio is a fork of the LaTeX IDE TexMaker. Gives you an environment where you can easily create and manage LaTeX documents."
8 url="http://texstudio.sourceforge.net"
10 depends=('qt' 'poppler-qt')
11 conflicts=('texmakerx' 'texstudio')
13 _svntrunk=http://texstudio.svn.sourceforge.net/svnroot/texstudio/trunk
19 if [ -d $_svnmod/.svn ]; then
20 (cd $_svnmod && svn up -r $pkgver)
22 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
25 msg "SVN checkout done or server timeout"
26 msg "Starting make..."
28 rm -rf "$srcdir/$_svnmod-build"
29 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
30 cd "$srcdir/$_svnmod-build"
32 qmake texstudio.pro || return 1
34 make INSTALL_ROOT="$pkgdir" install || return 1
35 sed -i $pkgdir/usr/share/applications/texstudio.desktop -e "s:texmakerx:texstudio:"
36 # mv -f $pkgdir/usr/share/applications/texmakerx.desktop $pkgdir/usr/share/applications/texstudio.desktop
37 # sed -i $pkgdir/usr/share/applications/texstudio.desktop -e "s:Exec=texmakerx:Exec=texstudio:"