Advertisement
Bananaoomarang

fish-shell-git PKGBUILD

Jun 12th, 2013
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.15 KB | None | 0 0
  1. # Maintainer: Milo Mordaunt <milomord@gmail.com>
  2. # A lot stolen from SanskritFritz (gmail)
  3. pkgname=fish-shell
  4. pkgver=24.01.2012
  5. pkgrel=1
  6. pkgdesc="User friendly shell intended mostly for interactive use, forked by ridiculousfish."
  7. arch=(i686, x86_64)
  8. url="http://fishshell.com"
  9. license=('GPL')
  10. depends=('ncurses' 'bc')
  11. makedepends=('doxygen' 'git')
  12. provides=('fish' 'fish-shell')
  13. md5sums=('SKIP')
  14.  
  15. _gitroot=https://github.com/fish-shell/fish-shell.git
  16. _gitname=fish-shell
  17.  
  18. build() {
  19. cd "$srcdir"
  20. msg "Connecting to GIT server...."
  21.  
  22. if [[ -d "$_gitname" ]]; then
  23. cd "$_gitname" && git pull origin
  24. msg "The local files are updated."
  25. else
  26. git clone "$_gitroot" "$_gitname"
  27. fi
  28.  
  29. msg "GIT checkout done or server timeout"
  30. msg "Starting build..."
  31.  
  32. rm -rf "$srcdir/$_gitname-build"
  33. git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
  34. cd "$srcdir/$_gitname-build"
  35.  
  36. #
  37. # BUILD HERE
  38. #
  39. autoconf
  40. ./configure --prefix=/usr --sysconfdir=/etc --docdir=/usr/share/doc/fish --without-xsel
  41. make
  42. }
  43.  
  44. package() {
  45. cd "$srcdir/$_gitname-build"
  46. make DESTDIR="$pkgdir/" install
  47. }
  48.  
  49. # vim:set ts=2 sw=2 et:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement