Date: Friday, December 25, 2020 @ 17:55:33 Author: felixonmars Revision: 790896
upgpkg: haskell-temporary 1.3-150: rebuild with tasty-quickcheck 0.10.1.2 (rebuild pass 1, specified --nocheck) Modified: haskell-temporary/trunk/PKGBUILD ----------+ PKGBUILD | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-12-25 17:52:51 UTC (rev 790895) +++ PKGBUILD 2020-12-25 17:55:33 UTC (rev 790896) @@ -4,21 +4,28 @@ _hkgname=temporary pkgname=haskell-temporary pkgver=1.3 -pkgrel=149 +pkgrel=150 pkgdesc="Portable temporary file and directory support" url="https://www.github.com/batterseapower/temporary" license=("BSD") arch=('x86_64') depends=('ghc-libs' 'haskell-random') -makedepends=('ghc' 'haskell-base-compat' 'haskell-tasty' 'haskell-tasty-hunit') +makedepends=('ghc') +checkdepends=('haskell-base-compat' 'haskell-tasty' 'haskell-tasty-hunit') source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") sha512sums=('e3078caf54da95c4efa9e9c936b35a98b62296ecce2242cd4e103605a9d29e8a9d6c7027dbf50d02b6a893bea558ea5b07dbb1df7c59bf26d86db76ccf112f25') 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 $MAKEFLAGS runhaskell Setup register --gen-script
