Date: Sunday, May 23, 2021 @ 07:14:19 Author: felixonmars Revision: 942876
upgpkg: haskell-scientific 0.3.7.0-1: rebuild with scientific 0.3.7.0 Modified: haskell-scientific/trunk/PKGBUILD ----------+ PKGBUILD | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2021-05-23 07:00:11 UTC (rev 942875) +++ PKGBUILD 2021-05-23 07:14:19 UTC (rev 942876) @@ -3,22 +3,23 @@ _hkgname=scientific pkgname=haskell-scientific -pkgver=0.3.6.2 -pkgrel=105 +pkgver=0.3.7.0 +pkgrel=1 pkgdesc="Numbers represented using scientific notation" url="https://github.com/basvandijk/scientific" license=("BSD") arch=('x86_64') -depends=('ghc-libs' "haskell-hashable" "haskell-integer-logarithms" "haskell-primitive") -makedepends=('ghc') +depends=('ghc-libs' 'haskell-hashable' 'haskell-integer-logarithms' 'haskell-primitive') +makedepends=('ghc' 'haskell-quickcheck' 'haskell-smallcheck' 'haskell-tasty' 'haskell-tasty-hunit' + 'haskell-tasty-quickcheck' 'haskell-tasty-smallcheck') source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") -sha512sums=('47a74524c8fb25d381adf868d823a6b6772f3f69b0b3cf9f9de015a03bc941857ef3fca1b4f8cbf23e998164e71a914e167221e753c6f32dc8644047d1ef57ee') +sha512sums=('dbd13060a6d1d101138715b4106382a78d115cff247859cb6f83aca3cdb6f6caf8a2c52d7ae99be64845c5e4a7959940bbf31df6265b15079c236f193b087865') 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 \ -f-integer-simple -f-bytestring-builder runhaskell Setup build $MAKEFLAGS @@ -28,6 +29,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
