# $Id: PKGBUILD 84315 2013-02-16 11:41:49Z bpiotrowski $ # Maintainer: Kaiting Chen # Maintainer: Bartłomiej Piotrowski # Contributor: Abhishek Dasgupta # Contributor: Eric Belanger # Contributor: Jan Fader pkgname=fish pkgver=2.0b2 pkgrel=4 pkgdesc='Smart and user friendly shell intended mostly for interactive use' arch=('i686' 'x86_64') url='http://ridiculousfish.com/shell/' license=('GPL2') depends=('python2') makedepends=('doxygen' 'python') install=fish.install source=($pkgname-$pkgver.tar.gz::http://ridiculousfish.com/shell/files/fishfish.tar.gz) md5sums=('ebe5fe17f6925b9142aadc8ebae5fba1') build() { cd "$srcdir"/fishfish autoconf ./configure --prefix=/usr \ --sysconfdir=/etc \ --without-xsel make } package() { cd "$srcdir"/fishfish make DESTDIR="$pkgdir" install # use python2 find "$pkgdir"/usr/share/fish/tools/ -type f -exec sed -e "1s|python|python2|" -i {} \; }