Date: Friday, August 30, 2019 @ 03:56:59 Author: felixonmars Revision: 505128
upgpkg: haskell-reflection 2.1.5-1 rebuild with reflection 2.1.5 Modified: haskell-reflection/trunk/PKGBUILD ----------+ PKGBUILD | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2019-08-30 03:56:38 UTC (rev 505127) +++ PKGBUILD 2019-08-30 03:56:59 UTC (rev 505128) @@ -3,22 +3,22 @@ _hkgname=reflection pkgname=haskell-reflection -pkgver=2.1.4 -pkgrel=6 +pkgver=2.1.5 +pkgrel=1 pkgdesc="Reifies arbitrary terms into types that can be reflected back into terms" url="https://github.com/ekmett/reflection" license=("BSD") arch=('x86_64') depends=('ghc-libs') -makedepends=('ghc') +makedepends=('ghc' 'haskell-hspec' 'haskell-quickcheck') source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") -sha512sums=('3209bb44a07fedddbb2aeb5f2f09414e6672faff6c8fbdb78eaa8f61a1af4d9fba43be193854f8978ffdd82c0ce54bd79a5d875638a41b6a738bc489bd718295') +sha512sums=('4b7c909d61ba6d19f8e120e9e53de7bf9e3fb69038cfa7e3027160e4c6e22b415d1d0cce60476e14bf0a205b848d53f1751915bdebfe83a400003f4aaf6286eb') 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 \ -ftemplate-haskell -f-slow runhaskell Setup build @@ -28,6 +28,11 @@ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh } +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + package() { cd $_hkgname-$pkgver