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

Felix Yan fyan at archlinux.org
Mon Jan 18 14:47:37 UTC 2016


    Date: Monday, January 18, 2016 @ 15:47:37
  Author: fyan
Revision: 157537

upgpkg: stack 1.0.2-1

Modified:
  stack/trunk/PKGBUILD

----------+
 PKGBUILD |   19 +++++++------------
 1 file changed, 7 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-01-18 14:00:28 UTC (rev 157536)
+++ PKGBUILD	2016-01-18 14:47:37 UTC (rev 157537)
@@ -4,8 +4,8 @@
 
 pkgbase=stack
 pkgname=(stack haskell-stack)
-pkgver=1.0.0
-pkgrel=6
+pkgver=1.0.2
+pkgrel=1
 pkgdesc="The Haskell Tool Stack"
 url="https://github.com/commercialhaskell/stack"
 license=("custom:BSD3")
@@ -15,7 +15,7 @@
              "haskell-bifunctors" "haskell-binary-tagged" "haskell-blaze-builder"
              "haskell-byteable" "haskell-conduit" "haskell-conduit-combinators"
              "haskell-conduit-extra" "haskell-cryptohash" "haskell-cryptohash-conduit"
-             "haskell-edit-distance" "haskell-either" "haskell-email-validate"
+             "haskell-edit-distance" "haskell-either"
              "haskell-enclosed-exceptions" "haskell-errors" "haskell-exceptions"
              "haskell-extra" "haskell-fast-logger" "haskell-file-embed" "haskell-filelock"
              "haskell-fsnotify" "haskell-gitrev" "haskell-hashable" "haskell-hastache"
@@ -32,16 +32,11 @@
              "haskell-word8" "haskell-yaml" "haskell-zlib")
 options=('staticlibs')
 source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz")
-sha256sums=('cd2f606d390fe521b6ba0794de87edcba64c4af66856af09594907c2b4f4751d')
+sha256sums=('4227f4c4016e5008755a974cbf04a9772319d87d1764da32228e74f13153c5c4')
 
 prepare() {
-    sed -e 's/async >=2.0.2 && <2.1,/async >=2.0.2 \&\& <2.2,/' \
-        -e 's/errors >=2.0.1 && <2.1,/errors >=2.0.1 \&\& <2.2,/' \
-        -e 's/gitrev ==1.1.*,/gitrev >= 1.1 \&\& < 1.3,/' \
-        -e 's/tar >=0.4.1.0 && <0.5,/tar >=0.4.1.0 \&\& <0.6,/' \
-        -e 's/email-validate >=2.0 && <2.2,/email-validate >=2.0 \&\& <2.3,/' \
-        -e 's/bifunctors >=4.2.1 && <5.2,/bifunctors >=4.2.1 \&\& <5.3,/' \
-        -i ${pkgbase}-${pkgver}/${pkgbase}.cabal
+    sed -i 's/Cabal >=1.22.6.0 && <1.23,/Cabal >=1.18.1.5 \&\& <1.23,/' \
+        ${pkgbase}-${pkgver}/${pkgbase}.cabal
 }
 
 build() {
@@ -50,7 +45,7 @@
     runhaskell Setup configure -O --enable-library-profiling --enable-shared \
         --prefix=/usr --docdir="/usr/share/doc/${pkgbase}" \
         --libsubdir=\$compiler/site-local/\$pkgid \
-            -f-disable-git-info -f-integration-tests
+            -f-disable-git-info -f-integration-tests -f-static
     runhaskell Setup build
     runhaskell Setup haddock --hoogle --html
     runhaskell Setup register --gen-script



More information about the arch-commits mailing list