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

Felix Yan felixonmars at archlinux.org
Tue Aug 15 15:52:35 UTC 2017


    Date: Tuesday, August 15, 2017 @ 15:52:34
  Author: felixonmars
Revision: 251007

upgpkg: haskell-system-filepath 0.4.13.4-4

GHC 8.2.1 rebuild

Modified:
  haskell-system-filepath/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-08-15 15:51:25 UTC (rev 251006)
+++ PKGBUILD	2017-08-15 15:52:34 UTC (rev 251007)
@@ -5,12 +5,13 @@
 _hkgname=system-filepath
 pkgname=haskell-system-filepath
 pkgver=0.4.13.4
-pkgrel=3
+pkgrel=4
 pkgdesc="High-level, byte-based file and directory path manipulations"
 url="https://hackage.haskell.org/package/${_hkgname}"
 license=("custom:BSD3")
 arch=('i686' 'x86_64')
-depends=("ghc" "haskell-text")
+depends=('ghc-libs' "haskell-text")
+makedepends=('ghc')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha256sums=('345d7dec968b74ab1b8c0e7bb78c2ef1e5be7be6b7bac455340fd658abfec5fb')
 
@@ -19,9 +20,8 @@
     
     runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
         --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
-        --libsubdir=\$compiler/site-local/\$pkgid
+        --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
@@ -33,8 +33,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.txt" "${pkgdir}/usr/share/licenses/${pkgname}/license.txt"
     rm -f "${pkgdir}/usr/share/doc/${pkgname}/license.txt"



More information about the arch-commits mailing list