1 # Contributor: Abhishek Dasgupta <abhidg@gmail.com>
2 # Contributor: Eric Belanger <eric@archlinux.org>
3 # Contributor: Jan Fader <jan.fader@web.de>
4 # Contributor: SanskritFritz (gmail)
9 pkgdesc="User friendly shell intended mostly for interactive use"
10 arch=('i686' 'x86_64')
11 url="http://gitorious.org/fish-shell"
12 license=("GPL" "LGPL" "BSD" "MIT")
13 depends=('ncurses' 'bc')
14 optdepends=('python2: make_completions script')
15 makedepends=('doxygen' 'git')
21 _gitroot="git://gitorious.org/fish-shell/fish-shell.git"
26 msg "Connecting to the GIT repository..."
28 if [ -d "$srcdir/$_gitname" ] ; then
29 cd $_gitname && git pull origin
30 msg "The local files are updated."
35 msg "GIT checkout done (who invented that stupid 'server timeout' message?:)"
36 msg "Starting make..."
40 ./configure --prefix=/usr --sysconfdir=/etc --docdir=/usr/share/doc/fish --without-xsel
42 make DESTDIR="$pkgdir" install
43 install -D -m644 user_doc/html/license.html "$pkgdir/usr/share/licenses/fish/license.html"
45 install -m755 make_completions.py "$pkgdir/usr/bin/make_completions"
46 sed -i "s/python/python2/" "$pkgdir/usr/bin/make_completions"