Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Contributor: Abhishek Dasgupta <abhidg@gmail.com>
- # Contributor: Eric Belanger <eric@archlinux.org>
- # Contributor: Jan Fader <jan.fader@web.de>
- # Contributor: Stephen Drodge <stephen.drodge@gmail.com>
- # Maintainer: SanskritFritz (gmail)
- pkgname=fish-shell-git
- _gitname="fish-shell"
- pkgver=2.1.0.r633.g20d7a14
- pkgrel=1
- epoch=2
- pkgdesc="User friendly shell intended mostly for interactive use."
- arch=('i686' 'x86_64' 'arm')
- url="http://fishshell.com"
- license=("GPL" "LGPL" "BSD" "MIT")
- depends=('bc')
- optdepends=('python: fish_update_completions and other tools')
- makedepends=('doxygen' 'git' 'ncurses')
- provides=('fish' 'fish-shell')
- conflicts=('fish' 'fish-shell')
- install='fish-shell.install'
- source=("git://github.com/fish-shell/fish-shell.git")
- md5sums=('SKIP')
- pkgver() {
- cd "$_gitname"
- # git log -1 --format="%cd" --date=short | sed 's|-|.|g'
- git describe --long | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
- }
- build() {
- cd "$srcdir/$_gitname"
- autoconf
- ./configure --prefix=/usr --sysconfdir=/etc --docdir=/usr/share/doc/fish
- make
- }
- package() {
- cd "$srcdir/$_gitname"
- make DESTDIR="$pkgdir" install
- # the docker package ships its own completions
- rm "$pkgdir/usr/share/fish/completions/docker.fish"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement