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

Felix Yan felixonmars at archlinux.org
Thu Aug 17 16:44:40 UTC 2017


    Date: Thursday, August 17, 2017 @ 16:44:39
  Author: felixonmars
Revision: 251722

upgpkg: haskell-glib 0.13.4.1-4

GHC 8.2.1 rebuild

Modified:
  haskell-glib/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-08-17 16:31:17 UTC (rev 251721)
+++ PKGBUILD	2017-08-17 16:44:39 UTC (rev 251722)
@@ -3,14 +3,14 @@
 
 pkgname=haskell-glib
 pkgver=0.13.4.1
-pkgrel=3
+pkgrel=4
 pkgdesc="Binding to the GLIB library for Gtk2Hs."
 url="https://hackage.haskell.org/package/glib"
 license=('LGPL2.1')
 arch=('i686' 'x86_64')
 # deps adjusted to specific versions in package()
-depends=('ghc' 'glib2' 'haskell-utf8-string' 'haskell-text')
-makedepends=("haskell-gtk2hs-buildtools")
+depends=('ghc-libs' 'glib2' 'haskell-utf8-string' 'haskell-text')
+makedepends=('ghc' "haskell-gtk2hs-buildtools")
 provides=('gtk2hs-glib')
 replaces=('gtk2hs-glib')
 conflicts=('gtk2hs-glib')
@@ -19,12 +19,11 @@
 
 build() {
     cd "${srcdir}/glib-${pkgver}"
-    
+
     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,11 +32,9 @@
 
 package() {
     cd "${srcdir}/glib-${pkgver}"
-    
+
     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/glib"
     runhaskell Setup copy --destdir="${pkgdir}"
 
     # Remove static libs



More information about the arch-commits mailing list