summaryrefslogtreecommitdiff
path: root/extra/cabal-install/PKGBUILD
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-03-09 17:15:33 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2012-03-09 17:15:33 +0100
commit81c145bbc94619d18db270991d31912a3d50c43b (patch)
treed4019392a513b226493ade11b1486d73dbb1e68e /extra/cabal-install/PKGBUILD
parent4290dec175736d43c7df289c599f553c469f3678 (diff)
parent0a7c64736c0b026c3105928d89500a8af1ad5eac (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/recoll/PKGBUILD core/dnsutils/PKGBUILD core/tzdata/PKGBUILD extra/cabal-install/PKGBUILD extra/feh/PKGBUILD extra/icedtea-web/PKGBUILD extra/indent/PKGBUILD extra/kdebase-konsole/PKGBUILD extra/kdebase-runtime/PKGBUILD extra/kdebase-workspace/PKGBUILD extra/kdepim/PKGBUILD extra/kdesdk/PKGBUILD extra/ktorrent/PKGBUILD extra/libktorrent/PKGBUILD libre/mplayer-libre/PKGBUILD multilib/lib32-libxau/PKGBUILD multilib/lib32-mpg123/PKGBUILD multilib/wine/PKGBUILD staging/kdenetwork/PKGBUILD staging/kdepim/PKGBUILD testing/bluez/PKGBUILD testing/xf86-input-evdev/PKGBUILD
Diffstat (limited to 'extra/cabal-install/PKGBUILD')
-rw-r--r--extra/cabal-install/PKGBUILD29
1 files changed, 18 insertions, 11 deletions
diff --git a/extra/cabal-install/PKGBUILD b/extra/cabal-install/PKGBUILD
index dda18250d..ce24aedc7 100644
--- a/extra/cabal-install/PKGBUILD
+++ b/extra/cabal-install/PKGBUILD
@@ -1,27 +1,34 @@
+# Maintainer: Thomas Dziedzic <gostrc@gmail.com>
# Maintainer: Vesa Kaihlavirta <vesa@archlinux.org>
# Contributor: Arch Haskell Team <arch-haskell@haskell.org>
+
pkgname=cabal-install
-pkgver=0.10.2
-pkgrel=1
+pkgver=0.10.4
+pkgrel=2
pkgdesc="The command-line interface for Cabal and Hackage."
url="http://hackage.haskell.org/package/cabal-install"
license=('custom:BSD3')
arch=('i686' 'x86_64' 'mips64el')
-makedepends=('ghc=7.0.2' 'haskell-http>=4000.1.1' 'haskell-zlib')
-depends=('gmp' zlib)
-options=('strip')
-source=(http://hackage.haskell.org/packages/archive/cabal-install/$pkgver/cabal-install-$pkgver.tar.gz)
+makedepends=('haskell-http=4000.2.2-1' 'haskell-zlib=0.5.3.3-3' 'haskell-mtl=2.0.1.0-4' 'haskell-network=2.3.0.11-1' 'haskell-random=1.0.1.1-1')
+depends=('ghc' 'gmp' 'zlib')
+#source=(http://hackage.haskell.org/packages/archive/cabal-install/$pkgver/cabal-install-$pkgver.tar.gz)
+# switch back to regular cabal-install once it gets updated...
+source=("http://hackage.haskell.org/packages/archive/cabal-install-ghc74/${pkgver}/cabal-install-ghc74-${pkgver}.tar.gz")
+md5sums=('49b3301cc80775ebf19fe9d949f15df5')
build() {
- cd $srcdir/cabal-install-$pkgver
+ cd cabal-install-ghc74-${pkgver}
runhaskell Setup configure --enable-shared --enable-split-objs --enable-executable-stripping --prefix=/usr
runhaskell Setup build
}
package() {
- cd $srcdir/cabal-install-$pkgver
+ cd cabal-install-ghc74-${pkgver}
runhaskell Setup copy --destdir=$pkgdir
- install -D -m644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+ #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
}
-
-md5sums=('bc906ef0bed79cbb33fdb36b73514281')