1 # Maintainer: Jason Ryan <jasonwryan@gmail.com>
2 # Contributor: Thomas Dziedzic < gostrc at gmail >
3 # Contributor: Ondrej Martinak <omartinak@gmail.com>
4 # Contributor: Stefan Husmann <stefan-husmann@t-online.de>
9 pkgdesc='Ncurses based file manager with vi like keybindings.'
10 arch=('i686' 'x86_64')
11 url='http://vifm.sourceforge.net/'
13 depends=('bash' 'ncurses')
18 _gitroot='git://vifm.git.sourceforge.net/gitroot/vifm/vifm'
22 msg "Connecting to GIT server..."
24 if [ -d $_gitname ]; then
32 msg "GIT checkout done or server timeout"
33 msg "Starting make..."
35 rm -rf "$srcdir/$_gitname-build"
36 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
37 cd "$srcdir/$_gitname-build"
40 ./configure --prefix=/usr
45 cd "$srcdir/$_gitname-build"
46 make DESTDIR="$pkgdir/" install
49 install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname%-*}/COPYING