summaryrefslogtreecommitdiff
path: root/community/fish/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/fish/PKGBUILD')
-rw-r--r--community/fish/PKGBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/community/fish/PKGBUILD b/community/fish/PKGBUILD
index e0e29cafa..00ec0ef53 100644
--- a/community/fish/PKGBUILD
+++ b/community/fish/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 74604 2012-07-31 12:48:32Z bpiotrowski $
+# $Id: PKGBUILD 74993 2012-08-11 09:42:41Z bpiotrowski $
# Maintainer: Kaiting Chen <kaitocracy@gmail.com>
# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Contributor: Abhishek Dasgupta <abhidg@gmail.com>
@@ -7,13 +7,13 @@
pkgname=fish
pkgver=2.0b2
-pkgrel=1
+pkgrel=2
pkgdesc='Smart and user friendly shell intended mostly for interactive use'
arch=('i686' 'x86_64')
url='http://ridiculousfish.com/shell/'
license=('GPL2')
-depends=('python')
-makedepends=('doxygen')
+depends=('python2')
+makedepends=('doxygen' 'python')
install=fish.install
source=($pkgname-$pkgver.tar.gz::http://ridiculousfish.com/shell/files/fishfish.tar.gz)
md5sums=('ebe5fe17f6925b9142aadc8ebae5fba1')
@@ -22,7 +22,7 @@ build() {
cd "$srcdir"/fishfish
autoconf
./configure --prefix=/usr \
- --sysconfdir=/etc \
+ --sysconfdir=/etc \
--without-xsel
make
}
@@ -33,4 +33,7 @@ package() {
# compress man pages
find "$pkgdir"/usr/share/fish/man/ -type f | xargs gzip -9
+
+ # use python2
+ find "$pkgdir"/usr/share/fish/tools/ -type f -exec sed -e "1s|python|python2|" -i {} \;
}