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

Felix Yan felixonmars at archlinux.org
Tue Aug 15 18:06:38 UTC 2017


    Date: Tuesday, August 15, 2017 @ 18:06:37
  Author: felixonmars
Revision: 251177

upgpkg: haskell-parsers 0.12.6-3

GHC 8.2.1 rebuild

Modified:
  haskell-parsers/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-08-15 18:05:11 UTC (rev 251176)
+++ PKGBUILD	2017-08-15 18:06:37 UTC (rev 251177)
@@ -5,13 +5,14 @@
 _hkgname=parsers
 pkgname=haskell-parsers
 pkgver=0.12.6
-pkgrel=2
+pkgrel=3
 pkgdesc="Parsing combinators"
 url="http://github.com/ekmett/parsers/"
 license=("custom:BSD3")
 arch=('i686' 'x86_64')
-depends=('ghc' "haskell-attoparsec" "haskell-base-orphans" "haskell-charset" "haskell-mtl"
+depends=('ghc-libs' "haskell-attoparsec" "haskell-base-orphans" "haskell-charset" "haskell-mtl"
          "haskell-parsec" "haskell-scientific" "haskell-text" "haskell-unordered-containers")
+makedepends=('ghc')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha512sums=('0728f24a7348e272660ea8f02eb6c10ea3d17037b06cc3fc61409253e9dcacfe7658f236129f65754061298b76f2b051850ecefeee6965387166724fb77520dd')
 
@@ -22,7 +23,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
@@ -34,8 +34,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