Date: Friday, December 8, 2017 @ 10:40:20 Author: felixonmars Revision: 273296
upgpkg: haskell-http-conduit 2.2.4-1 rebuild with http-conduit,2.2.4 Modified: haskell-http-conduit/trunk/PKGBUILD ----------+ PKGBUILD | 29 +++++++++++++++++++---------- 1 file changed, 19 insertions(+), 10 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-12-08 10:39:07 UTC (rev 273295) +++ PKGBUILD 2017-12-08 10:40:20 UTC (rev 273296) @@ -4,24 +4,28 @@ _hkgname=http-conduit pkgname=haskell-http-conduit -pkgver=2.2.3.2 -pkgrel=29 +pkgver=2.2.4 +pkgrel=1 pkgdesc="HTTP client package with conduit interface and HTTPS support" url="http://www.yesodweb.com/book/http-conduit" license=("custom:BSD3") arch=('x86_64') -depends=('ghc-libs' "haskell-aeson" "haskell-conduit" "haskell-conduit-extra" "haskell-exceptions" - "haskell-http-client" "haskell-http-client-tls" "haskell-http-types" "haskell-lifted-base" - "haskell-monad-control" "haskell-mtl" "haskell-resourcet") -makedepends=('ghc') +depends=('ghc-libs' 'haskell-aeson' 'haskell-conduit' 'haskell-conduit-extra' 'haskell-exceptions' + 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 'haskell-lifted-base' + 'haskell-monad-control' 'haskell-mtl' 'haskell-resourcet') +makedepends=('ghc' 'haskell-blaze-builder' 'haskell-case-insensitive' 'haskell-connection' + 'haskell-cookie' 'haskell-data-default-class' 'haskell-hunit' 'haskell-hspec' + 'haskell-lifted-base' 'haskell-network' 'haskell-streaming-commons' 'haskell-temporary' + 'haskell-text' 'haskell-utf8-string' 'haskell-wai' 'haskell-wai-conduit' 'haskell-warp' + 'haskell-warp-tls') source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") -sha512sums=('07732465673fc4a42115a4a9d4a2e1eec8f826a36dda5825551adf98840810c2c6a22191621fcf1b1ab09e3efd21d190fb3b44f20555ffd601d3dad3efd58e08') +sha512sums=('67106bac629e82b271b9c692ef115962775bc605385b008bc1c7453204c20039ab6157b3db2ca707383b877f1e1c63750a3a28bd1ae566fadc0b4e07922f5b63') build() { 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 runhaskell Setup build runhaskell Setup register --gen-script @@ -30,9 +34,14 @@ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh } +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + package() { cd "${srcdir}/${_hkgname}-${pkgver}" - + install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" runhaskell Setup copy --destdir="${pkgdir}"