Date: Thursday, January 27, 2022 @ 13:24:21 Author: felixonmars Revision: 1117048
upgpkg: haskell-async 2.2.4-1: rebuild with async 2.2.4 Modified: haskell-async/trunk/PKGBUILD ----------+ PKGBUILD | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-01-27 13:20:53 UTC (rev 1117047) +++ PKGBUILD 2022-01-27 13:24:21 UTC (rev 1117048) @@ -3,22 +3,22 @@ _hkgname=async pkgname=haskell-async -pkgver=2.2.3 -pkgrel=106 +pkgver=2.2.4 +pkgrel=1 pkgdesc="Run IO operations asynchronously and wait for their results" url="https://github.com/simonmar/async" license=("BSD") arch=('x86_64') depends=('ghc-libs' 'haskell-hashable') -makedepends=('ghc') +makedepends=('ghc' 'haskell-hunit' 'haskell-test-framework' 'haskell-test-framework-hunit') source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") -sha512sums=('99a7cd04d05362b6d007ec75a32cf0a6c11f4b3e46ab706349289f5bb0ad128fd2a9809e4d30634917a0a608b0d611c6d4e936ea36535c7c5ec167fead5f3248') +sha512sums=('24f37f974dd7573138475d04c0fccb97fcbd8b3de56f7d06199b8f936fd9a29cd0ba0574212a753a81de8958b3292ecee79d0e8d0d2f51eb91874424e6219569') build() { cd $_hkgname-$pkgver runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ - --prefix=/usr --docdir=/usr/share/doc/$pkgname \ + --prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm runhaskell Setup build $MAKEFLAGS runhaskell Setup register --gen-script @@ -27,6 +27,11 @@ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh } +check() { + cd $_hkgname-$pkgver + runhaskell Setup test --show-details=direct +} + package() { cd $_hkgname-$pkgver