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

Thomas Dziedzic tdziedzic at archlinux.org
Fri Feb 24 21:23:52 EST 2012


    Date: Friday, February 24, 2012 @ 21:23:52
  Author: tdziedzic
Revision: 151126

remove haskell-random

Modified:
  cabal-install/trunk/PKGBUILD
Deleted:
  haskell-random/

----------+
 PKGBUILD |   24 ++++++++++++++----------
 1 file changed, 14 insertions(+), 10 deletions(-)

Modified: cabal-install/trunk/PKGBUILD
===================================================================
--- cabal-install/trunk/PKGBUILD	2012-02-25 01:54:20 UTC (rev 151125)
+++ cabal-install/trunk/PKGBUILD	2012-02-25 02:23:52 UTC (rev 151126)
@@ -1,27 +1,31 @@
+# Maintainer: Thomas Dziedzic <gostrc at gmail.com>
 # Maintainer: Vesa Kaihlavirta <vesa at archlinux.org>
 # Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
 pkgname=cabal-install
-pkgver=0.10.2
-pkgrel=1.1
+pkgver=0.13.3
+pkgrel=1
 pkgdesc="The command-line interface for Cabal and Hackage."
 url="http://hackage.haskell.org/package/cabal-install"
 license=('custom:BSD3')
 arch=('i686' 'x86_64')
-makedepends=('haskell-http>=4000.1.1' 'haskell-zlib')
-depends=('ghc' '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')
+depends=('ghc' 'gmp' 'zlib')
+#source=(http://hackage.haskell.org/packages/archive/cabal-install/$pkgver/cabal-install-$pkgver.tar.gz)
+# use cabal-install from ghc since hackage cabal-install hasn't been updated
+source=("http://www.haskell.org/ghc/dist/7.4.1/ghc-7.4.1-src.tar.bz2")
+md5sums=('5d86c420978b49cc60edea9bd4c36703')
 
 build() {
-    cd $srcdir/cabal-install-$pkgver
+    #cd $srcdir/cabal-install-$pkgver
+    cd ghc-7.4.1/libraries/Cabal/cabal-install
     runhaskell Setup configure --enable-shared --enable-split-objs --enable-executable-stripping --prefix=/usr
     runhaskell Setup build
 }
 
 package() {
-    cd $srcdir/cabal-install-$pkgver
+    #cd $srcdir/cabal-install-$pkgver
+    cd ghc-7.4.1/libraries/Cabal/cabal-install
     runhaskell Setup copy --destdir=$pkgdir
     install -D -m644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
 }
-
-md5sums=('bc906ef0bed79cbb33fdb36b73514281')



More information about the arch-commits mailing list