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

Felix Yan felixonmars at archlinux.org
Wed Aug 16 16:54:50 UTC 2017


    Date: Wednesday, August 16, 2017 @ 16:54:49
  Author: felixonmars
Revision: 251371

upgpkg: haskell-statistics 0.14.0.2-10

GHC 8.2.1 rebuild

Modified:
  haskell-statistics/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-08-16 16:49:28 UTC (rev 251370)
+++ PKGBUILD	2017-08-16 16:54:49 UTC (rev 251371)
@@ -5,14 +5,15 @@
 _hkgname=statistics
 pkgname=haskell-statistics
 pkgver=0.14.0.2
-pkgrel=9
+pkgrel=10
 pkgdesc="A library of statistical types, data, and functions"
 url="https://github.com/bos/statistics"
 license=("custom:BSD2")
 arch=('i686' 'x86_64')
-depends=('ghc' "haskell-aeson" "haskell-base-orphans" "haskell-erf" "haskell-math-functions"
+depends=('ghc-libs' "haskell-aeson" "haskell-base-orphans" "haskell-erf" "haskell-math-functions"
          "haskell-monad-par" "haskell-mwc-random" "haskell-primitive" "haskell-vector"
          "haskell-vector-algorithms" "haskell-vector-binary-instances" "haskell-vector-th-unbox")
+makedepends=('ghc')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha512sums=('8ee0d6ae6f7a27b4b5a6dddd1e2c9a9b086224cfb7157efc396052263c5c89aea5eeb625a312e0c08f78cee3d819cdaa139f5a7bfc4413847592db45b1b697e4')
 
@@ -23,7 +24,6 @@
         --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
         --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
     runhaskell Setup build
-    runhaskell Setup haddock --hoogle --html || warning "Failed to run haddock"
     runhaskell Setup register --gen-script
     runhaskell Setup unregister --gen-script
     sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
@@ -35,8 +35,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