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

Felix Yan felixonmars at archlinux.org
Tue Aug 15 06:44:07 UTC 2017


    Date: Tuesday, August 15, 2017 @ 06:44:06
  Author: felixonmars
Revision: 250603

upgpkg: haskell-hslua 0.4.1-5

GHC 8.2.1 rebuild

Modified:
  haskell-hslua/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-08-15 06:41:48 UTC (rev 250602)
+++ PKGBUILD	2017-08-15 06:44:06 UTC (rev 250603)
@@ -5,12 +5,13 @@
 _hkgname=hslua
 pkgname=haskell-hslua
 pkgver=0.4.1
-pkgrel=4
+pkgrel=5
 pkgdesc="A Lua language interpreter embedding in Haskell"
 url="https://hackage.haskell.org/package/${_hkgname}"
 license=("MIT")
 arch=('i686' 'x86_64')
-depends=("ghc")
+depends=('ghc-libs')
+makedepends=('ghc')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha256sums=('2df2b4f0566ef2244506f9830e0207fce3bece7c331129f69f446c722136173f')
 
@@ -19,10 +20,9 @@
     
     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 \
             -f-luajit -f-apicheck -f-system-lua
     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/${_hkgname}"
     runhaskell Setup copy --destdir="${pkgdir}"
     install -D -m644 "COPYRIGHT" "${pkgdir}/usr/share/licenses/${pkgname}/COPYRIGHT"
     rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYRIGHT"



More information about the arch-commits mailing list