1 # Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
5 pkgdesc="A mindmapping tool - developement version from git"
7 url="http://www.insilmaril.de/vym"
10 depends=('qt' 'unzip' 'zip')
11 makedepends=('git' 'texlive-core')
14 options=('!emptydirs')
15 source=('vym-git.desktop')
16 md5sums=('ef7cfe93f97803159da7c9a136d58b47')
18 _gitroot="git://vym.git.sourceforge.net/vym/vym"
22 msg "Connecting to GIT server...."
24 if [ -d $_gitname ] ; then
25 cd $_gitname && git pull origin
26 msg "The local files are updated."
28 git clone $_gitroot $_gitname
31 msg "GIT checkout done or server timeout"
32 msg "Starting make..."
34 [ -d "$srcdir/$_gitname-build" ] && rm -rf "$srcdir/$_gitname-build"
35 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
36 cd "$srcdir/$_gitname-build"
45 sed -i 's+packages\/++' doc/vym.1
50 pdflatex $_i && pdflatex $_i && pdflatex $_i
55 cd "$srcdir/$_gitname-build"
56 make INSTALL_ROOT=${pkgdir} install
58 install -Dm644 doc/vym.1 ${pkgdir}/usr/share/man/man1/vym.1
62 install -Dm644 $_i ${pkgdir}/usr/share/doc/$pkgname/$_i
65 # .desktop and icon file
66 install -D -m644 ${srcdir}/$pkgname.desktop \
67 ${pkgdir}/usr/share/applications/$pkgname.desktop
68 install -D -m644 ${pkgdir}/usr/share/vym/icons/vym.png \
69 ${pkgdir}/usr/share/pixmaps/$pkgname.png