Date: Wednesday, February 19, 2020 @ 19:39:20 Author: felixonmars Revision: 576783
upgpkg: haskell-neat-interpolation 0.3.2.6-1: rebuild with neat-interpolation 0.3.2.6 Modified: haskell-neat-interpolation/trunk/PKGBUILD ----------+ PKGBUILD | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-02-19 19:30:19 UTC (rev 576782) +++ PKGBUILD 2020-02-19 19:39:20 UTC (rev 576783) @@ -3,22 +3,23 @@ _hkgname=neat-interpolation pkgname=haskell-neat-interpolation -pkgver=0.3.2.5 -pkgrel=3 +pkgver=0.3.2.6 +pkgrel=1 pkgdesc="A quasiquoter for neat and simple multiline text interpolation" url="https://github.com/nikita-volkov/neat-interpolation" license=("MIT") arch=('x86_64') -depends=('ghc-libs' 'haskell-base-prelude' 'haskell-megaparsec') -makedepends=('ghc') +depends=('ghc-libs' 'haskell-megaparsec') +makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 'haskell-rerebase' + 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck') source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") -sha512sums=('d25505b77e0ba9a684395514fc3b3d2c043c9717c1ce2b84da9dd193ac04c5dc61e3aa9451b2db4abaf2bb94e20626bcf34b4544183374a7a8e9a6192ad354aa') +sha512sums=('0b3725258cebdf6144a9442b3dfb5e46a1d36525fdfec7f1797546416ef7788c7ad679d33105d541ae37b208c170d695757355291ef0d05297d8e35ea4116546') 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 @@ -27,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
