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

Thomas Dziedzic tdziedzic at archlinux.org
Wed Mar 7 00:45:03 UTC 2012


    Date: Tuesday, March 6, 2012 @ 19:45:03
  Author: tdziedzic
Revision: 152443

upgpkg: cabal-install 0.10.4-1

bump for ghc74 compatibility

Modified:
  cabal-install/trunk/PKGBUILD

----------+
 PKGBUILD |   18 ++++++++----------
 1 file changed, 8 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-03-06 23:41:04 UTC (rev 152442)
+++ PKGBUILD	2012-03-07 00:45:03 UTC (rev 152443)
@@ -3,29 +3,27 @@
 # Contributor: Arch Haskell Team <arch-haskell at haskell.org>
 
 pkgname=cabal-install
-pkgver=0.13.3
+pkgver=0.10.4
 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.2.2-1' 'haskell-zlib=0.5.3.3-3' 'haskell-mtl=2.0.1.0-4' 'haskell-network=2.3.0.11-1')
+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)
-# 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')
+# 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 ghc-7.4.1/libraries/Cabal/cabal-install
+    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 ghc-7.4.1/libraries/Cabal/cabal-install
+    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
 }




More information about the arch-commits mailing list