Date: Friday, September 30, 2022 @ 04:09:22 Author: felixonmars Revision: 1318528
upgpkg: haskell-lens-aeson 1.2-1: rebuild with hspec 2.10.2, hspec-core 2.10.2, hspec-discover 2.10.2 Modified: haskell-lens-aeson/trunk/PKGBUILD ----------+ PKGBUILD | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-09-30 04:09:21 UTC (rev 1318527) +++ PKGBUILD 2022-09-30 04:09:22 UTC (rev 1318528) @@ -2,23 +2,23 @@ _hkgname=lens-aeson pkgname=haskell-lens-aeson -pkgver=1.1.3 -pkgrel=93 +pkgver=1.2 +pkgrel=1 pkgdesc="Law-abiding lenses for aeson" url="https://github.com/lens/lens-aeson/" license=('MIT') arch=('x86_64') depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 'haskell-lens' 'haskell-scientific' - 'haskell-unordered-containers' 'haskell-vector') + 'haskell-text-short' 'haskell-unordered-containers' 'haskell-vector') makedepends=('ghc') source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") -sha512sums=('e8139b700c5e310087603a378c9f72507fa057da3a4ce4b9685a2c43812b51af3c0e6f6604bc0f5e78ac9c69ff214287f7e8532a97286aabeb278a4dea9f2a6e') +sha512sums=('93c04737206453031c56491e07f11e8764dea426391391b5cd9cec592e70dd6a2ac7a313a0f32a5319243b03b6eb06f0754176b09c86b6bd7ff0a38141bff89e') 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-test-doctests 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
