summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD43
1 files changed, 43 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..820cca60641
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,43 @@
+# Contributor: Abhishek Dasgupta <abhidg@gmail.com>
+# Contributor: Eric Belanger <eric@archlinux.org>
+# Contributor: Jan Fader <jan.fader@web.de>
+# Contributor: SanskritFritz (gmail)
+
+pkgname=fish-git
+_gitname="fish-shell"
+pkgver=2012.01.31
+pkgrel=1
+epoch=1
+pkgdesc="User friendly shell intended mostly for interactive use (gitorius.org legacy version)."
+arch=('i686' 'x86_64')
+url="http://gitorious.org/fish-shell"
+license=("GPL" "LGPL" "BSD" "MIT")
+depends=('ncurses' 'bc')
+optdepends=('python2: make_completions script')
+makedepends=('doxygen' 'git')
+provides=('fish')
+conflicts=('fish')
+install=fish.install
+source=("git://gitorious.org/fish-shell/fish-shell.git")
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$_gitname"
+ git log -1 --format="%cd" --date=short | sed 's|-|.|g'
+}
+
+build() {
+ cd $srcdir/$_gitname
+ autoconf
+ ./configure --prefix=/usr --sysconfdir=/etc --docdir=/usr/share/doc/fish --without-xsel
+ make
+}
+
+package() {
+ cd $srcdir/$_gitname
+ make DESTDIR="$pkgdir" install
+ install -D -m644 user_doc/html/license.html "$pkgdir/usr/share/licenses/fish/license.html"
+
+ install -m755 make_completions.py "$pkgdir/usr/bin/make_completions"
+ sed -i "s/python/python2/" "$pkgdir/usr/bin/make_completions"
+}