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

Felix Yan felixonmars at archlinux.org
Sat Mar 18 08:12:50 UTC 2017


    Date: Saturday, March 18, 2017 @ 08:12:49
  Author: felixonmars
Revision: 217062

upgpkg: stack 1.4.0-1

rebuild with hpack,0.17.0 stack,1.4.0

Modified:
  stack/trunk/PKGBUILD

----------+
 PKGBUILD |   37 +++++++++++++++++--------------------
 1 file changed, 17 insertions(+), 20 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-03-18 07:28:54 UTC (rev 217061)
+++ PKGBUILD	2017-03-18 08:12:49 UTC (rev 217062)
@@ -4,25 +4,26 @@
 
 pkgbase=stack
 pkgname=(stack haskell-stack)
-pkgver=1.3.2
-pkgrel=64
+pkgver=1.4.0
+pkgrel=1
 pkgdesc="The Haskell Tool Stack"
 url="https://github.com/commercialhaskell/stack"
 license=("custom:BSD3")
 arch=('i686' 'x86_64')
 makedepends=("ghc=8.0.1" "haskell-aeson" "haskell-annotated-wl-pprint" "haskell-ansi-terminal"
-             "haskell-async" "haskell-attoparsec" "haskell-base-compat" "haskell-base16-bytestring"
-             "haskell-base64-bytestring" "haskell-binary-tagged" "haskell-blaze-builder"
-             "haskell-byteable" "haskell-clock" "haskell-conduit" "haskell-conduit-extra"
-             "haskell-cryptohash" "haskell-cryptohash-conduit" "haskell-either" "haskell-errors"
-             "haskell-exceptions" "haskell-extra" "haskell-fast-logger" "haskell-file-embed"
-             "haskell-filelock" "haskell-fsnotify" "haskell-generic-deriving" "haskell-gitrev"
+             "haskell-async" "haskell-attoparsec" "haskell-base-compat" "haskell-base64-bytestring"
+             "haskell-binary-tagged" "haskell-blaze-builder" "haskell-clock" "haskell-conduit"
+             "haskell-conduit-extra" "haskell-cryptonite" "haskell-cryptonite-conduit"
+             "haskell-either" "haskell-errors" "haskell-exceptions" "haskell-extra"
+             "haskell-fast-logger" "haskell-file-embed" "haskell-filelock" "haskell-fsnotify"
+             "haskell-generic-deriving" "haskell-gitrev" "haskell-hackage-security"
              "haskell-hashable" "haskell-hastache" "haskell-hit" "haskell-http-client"
              "haskell-http-client-tls" "haskell-http-conduit" "haskell-http-types" "haskell-hpack"
-             "haskell-lifted-async" "haskell-lifted-base" "haskell-microlens"
-             "haskell-monad-control" "haskell-monad-logger" "haskell-monad-unlift" "haskell-mtl"
-             "haskell-open-browser" "haskell-optparse-applicative" "haskell-optparse-simple"
-             "haskell-path" "haskell-path-io" "haskell-persistent" "haskell-persistent-sqlite"
+             "haskell-lifted-async" "haskell-lifted-base" "haskell-memory" "haskell-microlens"
+             "haskell-microlens-mtl" "haskell-monad-control" "haskell-monad-logger"
+             "haskell-monad-unlift" "haskell-mtl" "haskell-network-uri" "haskell-open-browser"
+             "haskell-optparse-applicative" "haskell-optparse-simple" "haskell-path"
+             "haskell-path-io" "haskell-persistent" "haskell-persistent-sqlite"
              "haskell-persistent-template" "haskell-pid1" "haskell-project-template"
              "haskell-regex-applicative-text" "haskell-resourcet" "haskell-retry" "haskell-safe"
              "haskell-safe-exceptions" "haskell-semigroups" "haskell-split" "haskell-stm"
@@ -31,16 +32,12 @@
              "haskell-transformers-base" "haskell-unicode-transforms" "haskell-unix-compat"
              "haskell-unordered-containers" "haskell-vector" "haskell-vector-binary-instances"
              "haskell-yaml" "haskell-zip-archive" "haskell-zlib")
-source=("https://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz")
-sha256sums=('488b9292ea605c92f6ebf79b233e8e374d857b21053051cb44b305dad8f0d3f7')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/commercialhaskell/stack/archive/v$pkgver.tar.gz")
+sha256sums=('595d311ad117e41ad908b7065743917542b40f343d1334673e98171ee74d36e6')
 
-prepare() {
-    sed -i 's/hpack >=0.14.0 && <0.16,/hpack >=0.14.0 \&\& <0.17,/' ${pkgbase}-${pkgver}/${pkgbase}.cabal
-}
-
 build() {
     cd "${srcdir}/${pkgbase}-${pkgver}"
-    
+
     runhaskell Setup configure -O --enable-library-profiling --enable-shared \
         --prefix=/usr --docdir="/usr/share/doc/${pkgbase}" \
         --libsubdir=\$compiler/site-local/\$pkgid \
@@ -72,7 +69,7 @@
     depends=("${makedepends[@]}" 'stack')
 
     cd "${srcdir}/${pkgbase}-${pkgver}"
-    
+
     install -D -m744 register.sh   "${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
     install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
     install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"



More information about the arch-commits mailing list