Date: Monday, December 23, 2019 @ 09:06:39 Author: felixonmars Revision: 538963
upgpkg: haskell-hsyaml 0.2.1.0-1: rebuild with pandoc 2.8, pandoc-types 1.20, doctemplates 0.7.1, HsYAML 0.2.1.0, haddock-library 1.8.0, texmath 0.12 Modified: haskell-hsyaml/trunk/PKGBUILD ----------+ PKGBUILD | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2019-12-23 09:02:25 UTC (rev 538962) +++ PKGBUILD 2019-12-23 09:06:39 UTC (rev 538963) @@ -2,22 +2,22 @@ _hkgname=HsYAML pkgname=haskell-hsyaml -pkgver=0.1.2.0 +pkgver=0.2.1.0 pkgrel=1 -pkgdesc="Pure Haskell YAML 1.2 parser" +pkgdesc="Pure Haskell YAML 1.2 processor" url="https://github.com/hvr/HsYAML" license=('GPL') arch=('x86_64') depends=('ghc-libs') -makedepends=('ghc') +makedepends=('ghc' 'haskell-quickcheck' 'haskell-tasty' 'haskell-tasty-quickcheck') source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) -sha512sums=('540123f547e4f76241a1282f87f45b0af282076a6edcd73c52a5362b5f5bcc50b92fef0c6a611ebdca25f8b5e9a9825911d42d2b9be75e9bbea214a3718dd9c3') +sha512sums=('f8ad41a99e48183835093ad8bf6a3fbdf4b9ad9df3bea46b12efd55a9555c22bd2595c72b1ac2e73379ab47e21f6cbf9022412db8971e1c7c02a32e824f53304') 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 runhaskell Setup build runhaskell Setup register --gen-script @@ -26,6 +26,11 @@ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh } +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + package() { cd $_hkgname-$pkgver
