Date: Monday, May 21, 2018 @ 13:30:34 Author: felixonmars Revision: 326146
upgpkg: haskell-http-streams 0.8.6.1-2 rebuild with test enabled http-streams Modified: haskell-http-streams/trunk/PKGBUILD ----------+ PKGBUILD | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-05-21 13:27:02 UTC (rev 326145) +++ PKGBUILD 2018-05-21 13:30:34 UTC (rev 326146) @@ -4,7 +4,7 @@ _hkgname=http-streams pkgname=haskell-http-streams pkgver=0.8.6.1 -pkgrel=1 +pkgrel=2 pkgdesc="An HTTP client using io-streams" url="https://github.com/afcowie/http-streams" license=('custom:BSD3') @@ -14,16 +14,21 @@ 'haskell-openssl-streams' 'haskell-unordered-containers' 'haskell-aeson' 'haskell-http-common' 'haskell-network' 'haskell-network-uri') makedepends=('ghc' 'haskell-hunit' 'haskell-aeson-pretty' 'haskell-hspec' - 'haskell-hspec-expectations' 'haskell-snap-core' # 'haskell-snap-server' + 'haskell-hspec-expectations' 'haskell-snap-core' 'haskell-snap-server' 'haskell-system-fileio' 'haskell-system-filepath') source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) sha512sums=('76f6aa750974cdca834dfa7de79ebf22faa1cd0a40426d4df19f24b0699ce2d86a0b1f512846da4daf52f210607ed823690bab3fd1bb7ebe117f705a92d4a3b4') +prepare() { + cd $_hkgname-$pkgver + sed -i 's/<.*1.1/<2/' $_hkgname.cabal +} + build() { cd $_hkgname-$pkgver runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ - --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --disable-tests \ + --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 @@ -34,7 +39,7 @@ check() { cd $_hkgname-$pkgver - # runhaskell Setup test + runhaskell Setup test } package() {
