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

Felix Yan felixonmars at archlinux.org
Wed Aug 16 09:07:05 UTC 2017


    Date: Wednesday, August 16, 2017 @ 09:07:05
  Author: felixonmars
Revision: 251293

upgpkg: haskell-microlens-platform 0.3.9.0-4

GHC 8.2.1 rebuild

Modified:
  haskell-microlens-platform/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-08-16 09:05:37 UTC (rev 251292)
+++ PKGBUILD	2017-08-16 09:07:05 UTC (rev 251293)
@@ -5,14 +5,15 @@
 _hkgname=microlens-platform
 pkgname=haskell-microlens-platform
 pkgver=0.3.9.0
-pkgrel=3
+pkgrel=4
 pkgdesc="Feature-complete microlens"
 url="http://github.com/aelve/microlens"
 license=("custom:BSD3")
 arch=('i686' 'x86_64')
-depends=('ghc' "haskell-hashable" "haskell-microlens" "haskell-microlens-ghc"
+depends=('ghc-libs' "haskell-hashable" "haskell-microlens" "haskell-microlens-ghc"
          "haskell-microlens-mtl" "haskell-microlens-th" "haskell-text"
          "haskell-unordered-containers" "haskell-vector")
+makedepends=('ghc')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha256sums=('93076f4c17e5ce65db89ccf50924b395667a730c8ff0c1a94b03b94b9a373539')
 
@@ -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
     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