# Contributor: William Pitcock # Maintainer: William Pitcock pkgname=fish pkgver=2.3.0 pkgrel=0 pkgdesc="a modern interactive commandline shell" url="http://www.fishshell.com/" arch="all" license="GPL2" depends="" depends_dev="ncurses-dev" makedepends="$depends_dev autoconf automake libtool doxygen" install="$pkgname.post-install $pkgname.post-upgrade $pkgname.pre-deinstall" subpackages="$pkgname-doc" source="http://fishshell.com/files/$pkgver/$pkgname-$pkgver.tar.gz" builddir="$srcdir"/$pkgname-$pkgver prepare() { default_prepare || return 1 cd "$builddir" autoconf || return 1 } build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ || return 1 make || return 1 } package() { cd "$builddir" make install DESTDIR="$pkgdir" || return 1 } md5sums="86c51dadf9c9cae223f4096190e78443 fish-2.3.0.tar.gz" sha256sums="912bac47552b1aa0d483a39ade330356632586a8f726c0e805b46d45cfad54e5 fish-2.3.0.tar.gz" sha512sums="acfeb8daad34250c626172428573d5baf86c43d37379fb29da296973931cb5e0b8d7cb5d2ed64eb6e3b984a3a65fc800dd8f78dce7d5e4719bc5dc143be27e8a fish-2.3.0.tar.gz"