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

Felix Yan felixonmars at archlinux.org
Wed Aug 16 18:25:28 UTC 2017


    Date: Wednesday, August 16, 2017 @ 18:25:27
  Author: felixonmars
Revision: 251437

upgpkg: haskell-swagger2 2.1.4.1-13

GHC 8.2.1 rebuild

Modified:
  haskell-swagger2/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-08-16 18:21:23 UTC (rev 251436)
+++ PKGBUILD	2017-08-16 18:25:27 UTC (rev 251437)
@@ -5,15 +5,16 @@
 _hkgname=swagger2
 pkgname=haskell-swagger2
 pkgver=2.1.4.1
-pkgrel=12
+pkgrel=13
 pkgdesc="Swagger 2.0 data model"
 url="https://github.com/GetShopTV/swagger2"
 license=("custom:BSD3")
 arch=('i686' 'x86_64')
-depends=('ghc' "haskell-aeson" "haskell-base-compat" "haskell-hashable" "haskell-generics-sop"
+depends=('ghc-libs' "haskell-aeson" "haskell-base-compat" "haskell-hashable" "haskell-generics-sop"
          "haskell-http-media" "haskell-insert-ordered-containers" "haskell-lens" "haskell-mtl"
          "haskell-network" "haskell-scientific" "haskell-text" "haskell-transformers-compat"
          "haskell-unordered-containers" "haskell-vector" "haskell-uuid-types")
+makedepends=('ghc')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha512sums=('0a0f809e91fb89a8c2f648ff625e2748efd2d17aed6c7eada7b50290061b52995bea839bcce549f7372f14df0866a15e6ea4e41b1d2a756ca6659ac929698dee')
 
@@ -24,7 +25,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
@@ -36,8 +36,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