[arch-commits] Commit in haskell-http-client/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Thu Aug 17 07:14:03 UTC 2017


    Date: Thursday, August 17, 2017 @ 07:14:02
  Author: felixonmars
Revision: 251599

upgpkg: haskell-http-client 0.5.7.0-5

GHC 8.2.1 rebuild

Modified:
  haskell-http-client/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-08-17 07:12:20 UTC (rev 251598)
+++ PKGBUILD	2017-08-17 07:14:02 UTC (rev 251599)
@@ -5,15 +5,16 @@
 _hkgname=http-client
 pkgname=haskell-http-client
 pkgver=0.5.7.0
-pkgrel=4
+pkgrel=5
 pkgdesc="An HTTP client engine"
 url="https://github.com/snoyberg/http-client"
 license=("MIT")
 arch=('i686' 'x86_64')
-depends=('ghc' "haskell-base64-bytestring" "haskell-blaze-builder" "haskell-case-insensitive"
+depends=('ghc-libs' "haskell-base64-bytestring" "haskell-blaze-builder" "haskell-case-insensitive"
          "haskell-cookie" "haskell-exceptions" "haskell-http-types" "haskell-mime-types"
          "haskell-network" "haskell-network-uri" "haskell-random" "haskell-streaming-commons"
          "haskell-text")
+makedepends=('ghc')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha512sums=('5a411fc6b709becdbdb727904851ff1348c39430d2358f780677fd00f154cc85d94f776f120f4435c2e9a89bb9f0a00858df0d5c7b250772c88c50179bd30275')
 
@@ -24,7 +25,6 @@
         --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
         --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid -fnetwork-uri
     runhaskell Setup build
-    runhaskell Setup haddock --hoogle --html
     runhaskell Setup register --gen-script
     runhaskell Setup unregister --gen-script
     sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
@@ -36,8 +36,6 @@
     
     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"
-    ln -s "/usr/share/doc/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
     runhaskell Setup copy --destdir="${pkgdir}"
     install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
     rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"



More information about the arch-commits mailing list