Advertisement
Guest User

Untitled

a guest
Sep 29th, 2014
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.23 KB | None | 0 0
  1. # Contributor: Abhishek Dasgupta <abhidg@gmail.com>
  2. # Contributor: Eric Belanger <eric@archlinux.org>
  3. # Contributor: Jan Fader <jan.fader@web.de>
  4. # Contributor: Stephen Drodge <stephen.drodge@gmail.com>
  5. # Maintainer: SanskritFritz (gmail)
  6.  
  7. pkgname=fish-shell-git
  8. _gitname="fish-shell"
  9. pkgver=2.1.0.r633.g20d7a14
  10. pkgrel=1
  11. epoch=2
  12. pkgdesc="User friendly shell intended mostly for interactive use."
  13. arch=('i686' 'x86_64' 'arm')
  14. url="http://fishshell.com"
  15. license=("GPL" "LGPL" "BSD" "MIT")
  16. depends=('bc')
  17. optdepends=('python: fish_update_completions and other tools')
  18. makedepends=('doxygen' 'git' 'ncurses')
  19. provides=('fish' 'fish-shell')
  20. conflicts=('fish' 'fish-shell')
  21. install='fish-shell.install'
  22. source=("git://github.com/fish-shell/fish-shell.git")
  23. md5sums=('SKIP')
  24.  
  25. pkgver() {
  26.     cd "$_gitname"
  27. #   git log -1 --format="%cd" --date=short | sed 's|-|.|g'
  28.     git describe --long | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
  29. }
  30.  
  31. build() {
  32.     cd "$srcdir/$_gitname"
  33.  
  34.     autoconf
  35.     ./configure --prefix=/usr --sysconfdir=/etc --docdir=/usr/share/doc/fish
  36.     make
  37. }
  38.  
  39. package() {
  40.     cd "$srcdir/$_gitname"
  41.     make DESTDIR="$pkgdir" install
  42.     # the docker package ships its own completions
  43.     rm "$pkgdir/usr/share/fish/completions/docker.fish"
  44. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement