summaryrefslogtreecommitdiff
path: root/extra/cabal-install/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/cabal-install/PKGBUILD')
-rw-r--r--extra/cabal-install/PKGBUILD10
1 files changed, 7 insertions, 3 deletions
diff --git a/extra/cabal-install/PKGBUILD b/extra/cabal-install/PKGBUILD
index 5ce042013..13bbc4a74 100644
--- a/extra/cabal-install/PKGBUILD
+++ b/extra/cabal-install/PKGBUILD
@@ -4,19 +4,23 @@
pkgname=cabal-install
pkgver=1.16.0
-pkgrel=1
+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')
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=('da046116eee7664158411fa9e2cf6b14')
+source=("http://hackage.haskell.org/packages/archive/cabal-install/${pkgver}/cabal-install-${pkgver}.tar.gz"
+ '0001-disable-setting-jobs-due-to-cabal-1.16.0-bug-shipped.patch')
+md5sums=('da046116eee7664158411fa9e2cf6b14'
+ 'd4705a398588efe6dbbcf6f4c3185a7d')
build() {
cd cabal-install-${pkgver}
+ patch -Np1 -i ${srcdir}/0001-disable-setting-jobs-due-to-cabal-1.16.0-bug-shipped.patch
+
runhaskell Setup configure \
--enable-shared \
--enable-split-objs \