Date: Tuesday, April 17, 2012 @ 16:27:04 Author: tdziedzic Revision: 156385
update cabal install Modified: cabal-install/trunk/PKGBUILD ----------+ PKGBUILD | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2012-04-17 20:15:51 UTC (rev 156384) +++ PKGBUILD 2012-04-17 20:27:04 UTC (rev 156385) @@ -3,29 +3,31 @@ # Contributor: Arch Haskell Team <arch-hask...@haskell.org> pkgname=cabal-install -pkgver=0.10.4 -pkgrel=3 +pkgver=0.14.0 +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' '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') +source=(http://hackage.haskell.org/packages/archive/cabal-install/$pkgver/cabal-install-$pkgver.tar.gz) +md5sums=('638514bd1a5792d75866481852148ae5') build() { - cd cabal-install-ghc74-${pkgver} + cd cabal-install-${pkgver} runhaskell Setup configure --enable-shared --enable-split-objs --enable-executable-stripping --prefix=/usr runhaskell Setup build } package() { - cd cabal-install-ghc74-${pkgver} + cd cabal-install-${pkgver} runhaskell Setup copy --destdir=$pkgdir - #install -D -m644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE + + # rm license installed to wrong location + rm -rf ${pkgdir}/usr/share/doc + + install -D -m644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE # add bash completion install -d ${pkgdir}/usr/share/bash-completion/completions