[arch-commits] Commit in haskell-wai-handler-launch/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Thu Aug 17 08:32:35 UTC 2017


    Date: Thursday, August 17, 2017 @ 08:32:34
  Author: felixonmars
Revision: 251625

upgpkg: haskell-wai-handler-launch 3.0.2.2-10

GHC 8.2.1 rebuild

Modified:
  haskell-wai-handler-launch/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-08-17 08:28:02 UTC (rev 251624)
+++ PKGBUILD	2017-08-17 08:32:34 UTC (rev 251625)
@@ -5,16 +5,21 @@
 _hkgname=wai-handler-launch
 pkgname=haskell-wai-handler-launch
 pkgver=3.0.2.2
-pkgrel=9
+pkgrel=10
 pkgdesc="Launch a web app in the default browser."
 url="http://github.com/yesodweb/wai"
 license=("MIT")
 arch=('i686' 'x86_64')
-depends=('ghc' "haskell-blaze-builder" "haskell-wai" "haskell-warp" "haskell-http-types"
+depends=('ghc-libs' "haskell-blaze-builder" "haskell-wai" "haskell-warp" "haskell-http-types"
          "haskell-streaming-commons" "haskell-async")
+makedepends=('ghc')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha256sums=('9c94c4da533ebcbbd28cf3dfbeb44a5e953dbf73b53cab0179f16931fa102908')
 
+prepare() {
+    sed -i 's/process >= 1.0 && < 1.5/process >= 1.0/' $_hkgname-$pkgver/$_hkgname.cabal
+}
+
 build() {
     cd "${srcdir}/${_hkgname}-${pkgver}"
 
@@ -22,7 +27,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 +38,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