Date: Monday, February 17, 2020 @ 09:09:12 Author: felixonmars Revision: 573874
upgpkg: haskell-http 4000.3.14-96: rebuild pass 1, specified --nocheck Modified: haskell-http/trunk/PKGBUILD ----------+ PKGBUILD | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-02-17 09:05:02 UTC (rev 573873) +++ PKGBUILD 2020-02-17 09:09:12 UTC (rev 573874) @@ -4,7 +4,7 @@ _hkgname=HTTP pkgname=haskell-http pkgver=4000.3.14 -pkgrel=95 +pkgrel=96 pkgdesc="A library for client-side HTTP" url="https://hackage.haskell.org/package/${_hkgname}" license=('BSD') @@ -25,8 +25,14 @@ 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 \ -f-mtl1 -f-warn-as-error -f-conduit10 -fwarp-tests -fnetwork-uri runhaskell Setup build