summaryrefslogtreecommitdiff
path: root/testing/cabal-install/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-10-06 00:25:32 -0700
committerroot <root@rshg054.dnsready.net>2012-10-06 00:25:32 -0700
commite7552010f531ef1b114352f0ce71a307360bf1d4 (patch)
treed37bd67211f2dc084113f36b80f2b4b5b9622aa5 /testing/cabal-install/PKGBUILD
parent777466db27694f0cad10a7159ba66f2a2b39a516 (diff)
Sat Oct 6 00:25:32 PDT 2012
Diffstat (limited to 'testing/cabal-install/PKGBUILD')
-rw-r--r--testing/cabal-install/PKGBUILD41
1 files changed, 24 insertions, 17 deletions
diff --git a/testing/cabal-install/PKGBUILD b/testing/cabal-install/PKGBUILD
index 30bffb560..5ce042013 100644
--- a/testing/cabal-install/PKGBUILD
+++ b/testing/cabal-install/PKGBUILD
@@ -3,34 +3,41 @@
# Contributor: Arch Haskell Team <arch-haskell@haskell.org>
pkgname=cabal-install
-pkgver=0.14.0
-pkgrel=2
+pkgver=1.16.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.3-1' 'haskell-zlib=0.5.3.3-4' 'haskell-mtl=2.1.1-1' 'haskell-network=2.3.0.14-1' 'haskell-random=1.0.1.1-2')
+makedepends=('haskell-http=4000.2.4-1' 'haskell-zlib=0.5.3.3-5' 'haskell-mtl=2.1.2-1' 'haskell-network=2.3.1.0-1' 'haskell-random=1.0.1.1-3')
depends=('ghc' 'gmp' 'zlib')
-source=(http://hackage.haskell.org/packages/archive/cabal-install/$pkgver/cabal-install-$pkgver.tar.gz)
-md5sums=('638514bd1a5792d75866481852148ae5')
+source=("http://hackage.haskell.org/packages/archive/cabal-install/${pkgver}/cabal-install-${pkgver}.tar.gz")
+md5sums=('da046116eee7664158411fa9e2cf6b14')
build() {
- cd cabal-install-${pkgver}
- runhaskell Setup configure --enable-shared --enable-split-objs --enable-executable-stripping --prefix=/usr
- runhaskell Setup build
+ cd cabal-install-${pkgver}
+
+ runhaskell Setup configure \
+ --enable-shared \
+ --enable-split-objs \
+ --enable-executable-stripping \
+ --prefix=/usr
+
+ runhaskell Setup build
}
package() {
- cd cabal-install-${pkgver}
- runhaskell Setup copy --destdir=$pkgdir
+ cd cabal-install-${pkgver}
+
+ runhaskell Setup copy --destdir=$pkgdir
- # rm license installed to wrong location
- rm -rf ${pkgdir}/usr/share/doc
+ # rm license installed to wrong location
+ rm -rf ${pkgdir}/usr/share/doc
- 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}/usr/share/bash-completion/completions
- install -m644 bash-completion/cabal \
- ${pkgdir}/usr/share/bash-completion/completions
+ # add bash completion
+ install -d ${pkgdir}/usr/share/bash-completion/completions
+ install -m644 bash-completion/cabal \
+ ${pkgdir}/usr/share/bash-completion/completions
}