Date: Thursday, January 2, 2020 @ 14:49:47 Author: felixonmars Revision: 546176
upgpkg: haskell-exceptions 0.10.4-2: rebuild pass 1, specified --nocheck Modified: haskell-exceptions/trunk/PKGBUILD ----------+ PKGBUILD | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-01-02 14:21:34 UTC (rev 546175) +++ PKGBUILD 2020-01-02 14:49:47 UTC (rev 546176) @@ -4,7 +4,7 @@ _hkgname=exceptions pkgname=haskell-exceptions pkgver=0.10.4 -pkgrel=1 +pkgrel=2 pkgdesc="Extensible optionally-pure exceptions" url="https://github.com/ekmett/exceptions/" license=("BSD") @@ -18,8 +18,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 runhaskell Setup build runhaskell Setup register --gen-script
