1 #Maintainer: Crazycheese <lct@pisem.net>
2 #Development version of wixi. Use only if you wish to hack the code.
7 pkgdesc="A multi-platform wiki application for the desktop, written in wxpython. Git version."
8 url="http://wixi.sourceforge.net/"
11 arch=('i686' 'x86_64')
12 provides=('wixi' 'wixi-git')
20 install=${pkgname}.install
22 _gitroot="git://wixi.git.sourceforge.net/gitroot/wixi/wixi"
26 #retrieving data from git.
29 msg "Connecting to server..."
31 if [ -d $startdir/src/$_gitname ] ; then
32 cd $_gitname && git pull origin
33 msg "The local files are updated."
39 msg "GIT checkout done or server timeout"
40 msg "Starting build..."
42 cp -r $startdir/src/$_gitname $startdir/src/$_gitname-build
43 cd $startdir/src/$_gitname-build
45 python setup.py install --root=${pkgdir}
47 msg "Installing icon and menu entry."
48 # using ${_gitname}.desktop, instead of ${pkgver}.desktop, because we need wixi.desktop, not wixi-git.desktop
49 install -Dm644 ${startdir}/${_gitname}.desktop ${pkgdir}/usr/share/applications/${_gitname}.desktop