Date: Monday, February 7, 2022 @ 11:25:03 Author: felixonmars Revision: 1127536
upgpkg: haskell-async 2.2.4-6: rebuild with base-compat 0.12.0, base-compat-batteries 0.12.0 (rebuild pass 1, specified --nocheck) Modified: haskell-async/trunk/PKGBUILD ----------+ PKGBUILD | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-02-07 11:07:22 UTC (rev 1127535) +++ PKGBUILD 2022-02-07 11:25:03 UTC (rev 1127536) @@ -4,21 +4,28 @@ _hkgname=async pkgname=haskell-async pkgver=2.2.4 -pkgrel=5 +pkgrel=6 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' 'haskell-hunit' 'haskell-test-framework' 'haskell-test-framework-hunit') +makedepends=('ghc') +checkdepends=('haskell-hunit' 'haskell-test-framework' 'haskell-test-framework-hunit') source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") sha512sums=('24f37f974dd7573138475d04c0fccb97fcbd8b3de56f7d06199b8f936fd9a29cd0ba0574212a753a81de8958b3292ecee79d0e8d0d2f51eb91874424e6219569') build() { cd $_hkgname-$pkgver + + if (( CHECKFUNC )); then + _opts=('--enable-tests') + else + _opts=('--disable-tests') + fi runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ - --prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ + --prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \ --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm runhaskell Setup build $MAKEFLAGS runhaskell Setup register --gen-script
