Date: Tuesday, August 15, 2017 @ 16:55:33 Author: felixonmars Revision: 251081
upgpkg: haskell-concurrent-output 1.7.9-7 GHC 8.2.1 rebuild Modified: haskell-concurrent-output/trunk/PKGBUILD ----------+ PKGBUILD | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-08-15 16:55:27 UTC (rev 251080) +++ PKGBUILD 2017-08-15 16:55:33 UTC (rev 251081) @@ -5,24 +5,28 @@ _hkgname=concurrent-output pkgname=haskell-concurrent-output pkgver=1.7.9 -pkgrel=6 +pkgrel=7 pkgdesc="Ungarble output from several threads or commands" url="https://hackage.haskell.org/package/${_hkgname}" license=("custom:BSD2") arch=('i686' 'x86_64') -depends=("ghc" "haskell-ansi-terminal" "haskell-async" "haskell-exceptions" "haskell-stm" +depends=('ghc-libs' "haskell-ansi-terminal" "haskell-async" "haskell-exceptions" "haskell-stm" "haskell-terminal-size" "haskell-text") +makedepends=('ghc') source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") sha256sums=('343c9685d24795bb38761f5c3600df5c67dbc6d410e5e0b862aa8d092e4e10d5') +prepare() { + sed -i 's/process (>= 1.1.0 && < 1.5.0)/process >= 1.1.0/' $_hkgname-$pkgver/$_hkgname.cabal +} + 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 + --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 @@ -31,11 +35,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"
