Date: Sunday, October 23, 2022 @ 09:53:37 Author: felixonmars Revision: 1333782
upgpkg: haskell-streaming-commons 0.2.2.5-1: rebuild with streaming-commons 0.2.2.5 Modified: haskell-streaming-commons/trunk/PKGBUILD ----------+ PKGBUILD | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-10-23 09:48:21 UTC (rev 1333781) +++ PKGBUILD 2022-10-23 09:53:37 UTC (rev 1333782) @@ -3,22 +3,22 @@ _hkgname=streaming-commons pkgname=haskell-streaming-commons -pkgver=0.2.2.4 -pkgrel=39 +pkgver=0.2.2.5 +pkgrel=1 pkgdesc="Common lower-level functions needed by various streaming data libraries" url="https://github.com/fpco/streaming-commons" license=("MIT") arch=('x86_64') depends=('ghc-libs' 'haskell-async' 'haskell-network' 'haskell-random' 'haskell-zlib') -makedepends=('ghc') +makedepends=('ghc' 'haskell-quickcheck' 'haskell-hspec' 'haskell-hspec-discover') source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") -sha512sums=('e552bba766e5b816cbd448d1cec86c5c7593f3f13c6da42c74ebf2c9698be3a3174dd922cf70de1b4940b53e580f396a51cebff6b62db305fb0fb48a5c7658bb') +sha512sums=('e2e5f401af9c8eefe37596015f8af42225daaf7f0134add1a375b54e30e5b87212943bfa5da3e2f46953eb6942f3efe753e4565e52eb5ba45fef90743708c89d') build() { cd $_hkgname-$pkgver runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ - --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname \ + --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ -f-use-bytestring-builder runhaskell Setup build $MAKEFLAGS @@ -28,6 +28,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
