Date: Friday, February 4, 2022 @ 17:54:43 Author: felixonmars Revision: 1125793
upgpkg: haskell-text-icu 0.8.0-1: rebuild with text-icu 0.8.0 Modified: haskell-text-icu/trunk/PKGBUILD ----------+ PKGBUILD | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-02-04 17:50:13 UTC (rev 1125792) +++ PKGBUILD 2022-02-04 17:54:43 UTC (rev 1125793) @@ -3,22 +3,23 @@ _hkgname=text-icu pkgname=haskell-text-icu -pkgver=0.7.1.0 -pkgrel=5 +pkgver=0.8.0 +pkgrel=1 pkgdesc="Bindings to the ICU library" -url="https://github.com/bos/text-icu" +url="https://github.com/haskell/text-icu" license=("BSD") arch=('x86_64') depends=('ghc-libs' 'icu') -makedepends=('ghc') +makedepends=('ghc' 'haskell-hunit' 'haskell-quickcheck' 'haskell-random' 'haskell-test-framework' + 'haskell-test-framework-hunit' 'haskell-test-framework-quickcheck2') source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") -sha512sums=('807a1385b7601edcfa6142a8e107df1b3c2820974218e2bafadb8a42eda3b68a0a16d222d75120b422e5ca9f4cd4f52f39d2b7938a541692ed4d633d5750089a') +sha512sums=('af8cdc1d01ab540329a1794537d0fa23ee917ca19b53d8bc7fbc2aa4fc2c9de23abbaa04442630755171d70eef6b89b38f3afbdb48790f2bd6c6491651e89d04') 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 --ghc-option=-fllvm runhaskell Setup build $MAKEFLAGS runhaskell Setup register --gen-script @@ -27,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
