Date: Tuesday, August 15, 2017 @ 04:26:46 Author: felixonmars Revision: 250485
upgpkg: haskell-bytestring-show 0.3.5.6-10 GHC 8.2.1 rebuild Modified: haskell-bytestring-show/trunk/PKGBUILD ----------+ PKGBUILD | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-08-15 04:23:55 UTC (rev 250484) +++ PKGBUILD 2017-08-15 04:26:46 UTC (rev 250485) @@ -3,12 +3,13 @@ pkgname=haskell-bytestring-show pkgver=0.3.5.6 -pkgrel=9 +pkgrel=10 pkgdesc="Efficient conversion of values into readable byte strings." url="https://hackage.haskell.org/package/bytestring-show" license=('BSD') arch=('i686' 'x86_64') -depends=("ghc") +depends=('ghc-libs') +makedepends=('ghc') source=("https://hackage.haskell.org/packages/archive/bytestring-show/${pkgver}/bytestring-show-${pkgver}.tar.gz") sha256sums=('29242efd16951ebba888218c469a99ff25b19ab74ee1e0d7b4db09b8800a0812') @@ -22,9 +23,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,11 +33,9 @@ package() { cd "${srcdir}/bytestring-show-${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/bytestring-show" runhaskell Setup copy --destdir="${pkgdir}" install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
