summaryrefslogtreecommitdiff
path: root/community/fish/PKGBUILD
blob: 204b07db14fe8ce264444bd1c854e2b457119dfe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# $Id: PKGBUILD 39735 2011-02-15 21:06:59Z kchen $
# Maintainer: Kaiting Chen <kaitocracy@gmail.com>
# Contributor: Abhishek Dasgupta <abhidg@gmail.com>
# Contributor: Eric Belanger <eric@archlinux.org>
# Contributor: Jan Fader <jan.fader@web.de>

pkgname=fish
pkgver=1.23.1
pkgrel=4
pkgdesc="User friendly shell intended mostly for interactive use"
arch=('i686' 'x86_64' 'mips64el')
url="http://fishshell.com/"
license=("GPL" "LGPL" "BSD" "MIT")
depends=('ncurses' 'bc')
install=fish.install
source=(http://fishshell.com/files/$pkgver/$pkgname-$pkgver.tar.bz2)
md5sums=('ead6b7c6cdb21f35a3d4aa1d5fa596f1')

build() {
  cd "$srcdir/$pkgname-$pkgver"

  ./configure --prefix=/usr --sysconfdir=/etc  \
     --docdir=/usr/share/doc/fish --without-xsel
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"

  make DESTDIR="$pkgdir" install
  install -D -m644 user_doc/html/license.html "$pkgdir/usr/share/licenses/$pkgname/license.html"
}