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

Felix Yan felixonmars at archlinux.org
Wed Aug 16 20:35:11 UTC 2017


    Date: Wednesday, August 16, 2017 @ 20:35:10
  Author: felixonmars
Revision: 251545

upgpkg: stylish-haskell 0.8.1.0-15

GHC 8.2.1 rebuild

Modified:
  stylish-haskell/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-08-16 20:33:35 UTC (rev 251544)
+++ PKGBUILD	2017-08-16 20:35:10 UTC (rev 251545)
@@ -4,13 +4,14 @@
 
 pkgname=stylish-haskell
 pkgver=0.8.1.0
-pkgrel=14
+pkgrel=15
 pkgdesc="Haskell code prettifier"
 url="https://github.com/jaspervdj/stylish-haskell"
 license=("custom:BSD3")
 arch=('i686' 'x86_64')
-depends=('ghc' "haskell-aeson" "haskell-src-exts" "haskell-mtl" "haskell-optparse-applicative"
+depends=('ghc-libs' "haskell-aeson" "haskell-src-exts" "haskell-mtl" "haskell-optparse-applicative"
          "haskell-strict" "haskell-syb" "haskell-yaml")
+makedepends=('ghc')
 source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
 sha512sums=('617b4a089b66a895b49f7ecb205d91f4736843b95b393460e08b3276410f8f994e613b135c4c2dec69323d1b333061165db8878baf33c9dd2131dbeb59a25366')
 
@@ -22,7 +23,6 @@
         --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
             -f-old_base
     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/${pkgname}"
     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