[arch-commits] Commit in cabal-install/trunk (PKGBUILD)

Thomas Dziedzic tdziedzic at archlinux.org
Tue Mar 6 20:04:34 EST 2012


    Date: Tuesday, March 6, 2012 @ 20:04:33
  Author: tdziedzic
Revision: 152446

upgpkg: cabal-install 0.10.4-2

add bash completion to cabal-install

Modified:
  cabal-install/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-03-07 00:48:29 UTC (rev 152445)
+++ PKGBUILD	2012-03-07 01:04:33 UTC (rev 152446)
@@ -4,7 +4,7 @@
 
 pkgname=cabal-install
 pkgver=0.10.4
-pkgrel=1
+pkgrel=2
 pkgdesc="The command-line interface for Cabal and Hackage."
 url="http://hackage.haskell.org/package/cabal-install"
 license=('custom:BSD3')
@@ -26,4 +26,9 @@
     cd cabal-install-ghc74-${pkgver}
     runhaskell Setup copy --destdir=$pkgdir
     #install -D -m644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+    
+    # add bash completion
+    install -d ${pkgdir}/etc/bash_completion.d
+    install -m644 bash-completion/cabal \
+        ${pkgdir}/etc/bash_completion.d
 }



More information about the arch-commits mailing list