Date: Monday, November 27, 2017 @ 06:54:39 Author: felixonmars Revision: 269330
upgpkg: haskell-hslua 0.9.2-2 rebuild with ghc 8.2.2 Modified: haskell-hslua/trunk/PKGBUILD ----------+ PKGBUILD | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-11-27 06:53:50 UTC (rev 269329) +++ PKGBUILD 2017-11-27 06:54:39 UTC (rev 269330) @@ -5,13 +5,14 @@ _hkgname=hslua pkgname=haskell-hslua pkgver=0.9.2 -pkgrel=1 +pkgrel=2 pkgdesc="A Lua language interpreter embedding in Haskell" url="https://hackage.haskell.org/package/${_hkgname}" license=("MIT") arch=('x86_64') depends=('ghc-libs' 'lua' 'haskell-exceptions' 'haskell-mtl' 'haskell-text') -makedepends=('ghc') +makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 'haskell-tasty' + 'haskell-tasty-expected-failure' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck') source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") sha512sums=('023bec4d9850525d7b367cad2917cbb5dad23d4509e29130e1a646def3ff718064b8d5fc7e566db8c86b4c054d5c9f6e794522b7680eb2010b736b1f81abb887') @@ -25,7 +26,7 @@ cd "${srcdir}/${_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-luajit -f-apicheck -fsystem-lua -f-lua_32bits -fallow-unsafe-gc -fexport-dynamic -f-lua501 -f-lua502 -fuse-pkgconfig runhaskell Setup build @@ -35,6 +36,11 @@ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh } +check() { + cd "${srcdir}/${_hkgname}-${pkgver}" + runhaskell Setup test +} + package() { cd "${srcdir}/${_hkgname}-${pkgver}"
