summaryrefslogtreecommitdiff
path: root/community/fish/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/fish/PKGBUILD')
-rw-r--r--community/fish/PKGBUILD20
1 files changed, 8 insertions, 12 deletions
diff --git a/community/fish/PKGBUILD b/community/fish/PKGBUILD
index 570885d15..a538a3ca0 100644
--- a/community/fish/PKGBUILD
+++ b/community/fish/PKGBUILD
@@ -1,25 +1,25 @@
-# $Id: PKGBUILD 99431 2013-10-28 19:00:44Z bpiotrowski $
-# Maintainer: Kaiting Chen <kaitocracy@gmail.com>
-# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
+# $Id: PKGBUILD 106894 2014-03-09 17:38:13Z bpiotrowski $
+# Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
+# Contributor: 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=2.1.0
-pkgrel=1
+pkgrel=2
pkgdesc='Smart and user friendly shell intended mostly for interactive use'
arch=('i686' 'x86_64')
url='http://fishshell.com/'
license=('GPL2')
-depends=('python2' 'inetutils')
-makedepends=('doxygen' 'python')
+depends=('bc' 'gcc-libs' 'inetutils' 'ncurses')
+optdepends=('python: for manual page completion parser and web configuration tool')
install=fish.install
source=(http://fishshell.com/files/$pkgver/fish-$pkgver.tar.gz)
md5sums=('3a29aebde522b8f52d9975d7423db99e')
build() {
- cd fish-$pkgver
+ cd $pkgname-$pkgver
./configure --prefix=/usr \
--sysconfdir=/etc \
--without-xsel
@@ -27,9 +27,5 @@ build() {
}
package() {
- cd fish-$pkgver
- make DESTDIR="$pkgdir" install
-
- # use python2
- find "$pkgdir"/usr/share/fish/tools/ -type f -exec sed -e "1s|python|python2|" -i {} \;
+ make -C $pkgname-$pkgver DESTDIR="$pkgdir" install
}