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

Felix Yan felixonmars at archlinux.org
Tue Aug 15 08:54:14 UTC 2017


    Date: Tuesday, August 15, 2017 @ 08:54:14
  Author: felixonmars
Revision: 250743

upgpkg: haskell-pretty-show 1.6.13-3

GHC 8.2.1 rebuild

Modified:
  haskell-pretty-show/trunk/PKGBUILD

----------+
 PKGBUILD |   19 ++++++++-----------
 1 file changed, 8 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-08-15 08:45:47 UTC (rev 250742)
+++ PKGBUILD	2017-08-15 08:54:14 UTC (rev 250743)
@@ -2,26 +2,25 @@
 # Maintainer: Felix Yan <felixonmars at archlinux.org>
 
 _hkgname=pretty-show
-pkgname=haskell-pretty-show 
+pkgname=haskell-pretty-show
 pkgver=1.6.13
-pkgrel=2
+pkgrel=3
 pkgdesc='Tools for working with derived `Show` instances and generic inspection of values.'
 url="http://wiki.github.com/yav/pretty-show"
 license=('MIT')
 arch=('i686' 'x86_64')
-depends=('ghc' 'haskell-lexer')
-makedepends=('happy')
+depends=('ghc-libs' 'haskell-lexer')
+makedepends=('ghc' 'happy')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha512sums=('7917e5b34e3eefdff3b72d37cedd9f692be1176febe1087e713be9e6c00baf5ffbdd3a7ecca685936ddf73a6765f8145d94ac5a9c026fc8de58794e0a06a184e')
 
 build() {
     cd "${srcdir}/${_hkgname}-${pkgver}"
-    
+
     runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
-        --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
-        --libsubdir=\$compiler/site-local/\$pkgid
+        --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --datasubdir="$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
@@ -30,11 +29,9 @@
 
 package() {
     cd "${srcdir}/${_hkgname}-${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/${_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