Date: Wednesday, March 24, 2021 @ 10:51:26 Author: felixonmars Revision: 901534
upgpkg: haskell-th-utilities 0.2.4.2-1: rebuild with th-utilities 0.2.4.2 Modified: haskell-th-utilities/trunk/PKGBUILD ----------+ PKGBUILD | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2021-03-24 10:51:07 UTC (rev 901533) +++ PKGBUILD 2021-03-24 10:51:26 UTC (rev 901534) @@ -2,22 +2,22 @@ _hkgname=th-utilities pkgname=haskell-th-utilities -pkgver=0.2.4.1 -pkgrel=46 +pkgver=0.2.4.2 +pkgrel=1 pkgdesc="Collection of useful functions for use with Template Haskell" url="https://github.com/fpco/th-utilities" license=('MIT') arch=('x86_64') -depends=('ghc-libs' 'haskell-primitive' 'haskell-syb' 'haskell-th-orphans') -makedepends=('ghc') +depends=('ghc-libs' 'haskell-primitive' 'haskell-syb' 'haskell-th-abstraction' 'haskell-th-orphans') +makedepends=('ghc' 'haskell-hspec' 'haskell-vector') source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) -sha512sums=('b23272db62a0842af56efbc2f4cc0ebb8d0c900ecb3471fd2a984792da76ab57780d0960fa737fa0023dcd06e12b7585b586ae330005570046ba767101840d02') +sha512sums=('861d55d00b4b6bc730b185910699965ea0374f6ba52a3098e75ce3452d4dac2dc93f1d387938cc8a2847ea0642b6c8b3f499109cf48339af5c54c2abadb598ad') 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 $MAKEFLAGS 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