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

Felix Yan felixonmars at archlinux.org
Tue Aug 15 16:57:32 UTC 2017


    Date: Tuesday, August 15, 2017 @ 16:57:31
  Author: felixonmars
Revision: 251083

upgpkg: haskell-megaparsec 5.3.1-6

GHC 8.2.1 rebuild

Modified:
  haskell-megaparsec/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-08-15 16:55:58 UTC (rev 251082)
+++ PKGBUILD	2017-08-15 16:57:31 UTC (rev 251083)
@@ -5,13 +5,14 @@
 _hkgname=megaparsec
 pkgname=haskell-megaparsec
 pkgver=5.3.1
-pkgrel=5
+pkgrel=6
 pkgdesc="Monadic parser combinators"
 url="https://github.com/mrkkrp/megaparsec"
 license=("custom:BSD2")
 arch=('i686' 'x86_64')
-depends=('ghc' "haskell-exceptions" "haskell-mtl" "haskell-quickcheck" "haskell-scientific"
+depends=('ghc-libs' "haskell-exceptions" "haskell-mtl" "haskell-quickcheck" "haskell-scientific"
          "haskell-text")
+makedepends=('ghc')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha512sums=('2319dcc4d59f483dbea42069008861ea17b8c6163fbfef6374e632781a155a88e406eb16dac1b59799871cb115893748fb50bbe52d23d3c8810211ccb4a6ce50')
 
@@ -23,7 +24,6 @@
         --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
             -f-dev
     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.md" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md"
     rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"



More information about the arch-commits mailing list