Date: Monday, December 25, 2017 @ 04:26:27 Author: felixonmars Revision: 275908
upgpkg: haskell-wai-extra 3.0.21.0-1 rebuild with wai-extra,3.0.21.0 Modified: haskell-wai-extra/trunk/PKGBUILD ----------+ PKGBUILD | 29 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-12-25 04:21:05 UTC (rev 275907) +++ PKGBUILD 2017-12-25 04:26:27 UTC (rev 275908) @@ -4,28 +4,28 @@ _hkgname=wai-extra pkgname=haskell-wai-extra -pkgver=3.0.20.2 -pkgrel=4 +pkgver=3.0.21.0 +pkgrel=1 pkgdesc="Provides some basic WAI handlers and middleware." url="https://github.com/yesodweb/wai" license=("MIT") arch=('x86_64') -depends=('ghc-libs' "haskell-aeson" "haskell-ansi-terminal" "haskell-base64-bytestring" - "haskell-blaze-builder" "haskell-case-insensitive" "haskell-cookie" - "haskell-data-default-class" "haskell-fast-logger" "haskell-http-types" - "haskell-iproute" "haskell-lifted-base" "haskell-network" "haskell-old-locale" - "haskell-resourcet" "haskell-streaming-commons" "haskell-stringsearch" - "haskell-text" "haskell-unix-compat" "haskell-vault" "haskell-void" "haskell-wai" - "haskell-wai-logger" "haskell-word8" "haskell-zlib") -makedepends=('ghc') +depends=('ghc-libs' 'haskell-aeson' 'haskell-ansi-terminal' 'haskell-base64-bytestring' + 'haskell-blaze-builder' 'haskell-case-insensitive' 'haskell-cookie' + 'haskell-data-default-class' 'haskell-fast-logger' 'haskell-http-types' + 'haskell-iproute' 'haskell-lifted-base' 'haskell-network' 'haskell-old-locale' + 'haskell-resourcet' 'haskell-streaming-commons' 'haskell-stringsearch' + 'haskell-text' 'haskell-unix-compat' 'haskell-vault' 'haskell-void' 'haskell-wai' + 'haskell-wai-logger' 'haskell-word8' 'haskell-zlib') +makedepends=('ghc' 'haskell-hspec' 'haskell-hunit') source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") -sha512sums=('6dce4d4ff93a4020c17aa2c641f5bab9c8ed565f48faf0829d43b75db0f347ca4aed63b942eb033203c3c679b8ed29dfb21801ea690aef2c33904ce078cff062') +sha512sums=('1cf8a483afb29dd9ac87b5c8f424e0e9b1a7286fe94cf5167aab87a7e7e0dab9bc932aa57303c53217d66046de54344d18e7dec8938fb394145d80d5f6eadf8d') 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 \ -f-build-example runhaskell Setup build @@ -35,6 +35,11 @@ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh } +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + package() { cd "${srcdir}/${_hkgname}-${pkgver}"
