Date: Thursday, February 13, 2020 @ 13:41:46 Author: felixonmars Revision: 570406
upgpkg: haskell-yesod 1.6.0.1-1: rebuild with yesod 1.6.0.1 Modified: haskell-yesod/trunk/PKGBUILD ----------+ PKGBUILD | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-02-13 13:32:27 UTC (rev 570405) +++ PKGBUILD 2020-02-13 13:41:46 UTC (rev 570406) @@ -3,21 +3,20 @@ _hkgname=yesod pkgname=haskell-yesod -pkgver=1.6.0 -pkgrel=423 +pkgver=1.6.0.1 +pkgrel=1 pkgdesc="Creation of type-safe, RESTful web applications." url="http://www.yesodweb.com/" license=("MIT") arch=('x86_64') -depends=('ghc-libs' 'haskell-aeson' 'haskell-blaze-html' 'haskell-blaze-markup' - 'haskell-data-default-class' 'haskell-fast-logger' 'haskell-monad-logger' - 'haskell-resourcet' 'haskell-shakespeare' 'haskell-streaming-commons' - 'haskell-unordered-containers' 'haskell-wai' 'haskell-wai-extra' 'haskell-wai-logger' - 'haskell-warp' 'haskell-yaml' 'haskell-yesod-core' 'haskell-yesod-form' - 'haskell-yesod-persistent') +depends=('ghc-libs' 'haskell-aeson' 'haskell-conduit' 'haskell-data-default-class' + 'haskell-fast-logger' 'haskell-monad-logger' 'haskell-shakespeare' + 'haskell-streaming-commons' 'haskell-unordered-containers' 'haskell-wai' + 'haskell-wai-extra' 'haskell-wai-logger' 'haskell-warp' 'haskell-yaml' + 'haskell-yesod-core' 'haskell-yesod-form' 'haskell-yesod-persistent') makedepends=('ghc') source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") -sha512sums=('36caa5ee5c27a2355aff9e5dc210100661670717e251bb42bac48c02cd6979c38ae7b5fda1dd2e264aefb7b5b3808f7ccc9e511fd38b6de7090e16c7a91e1b15') +sha512sums=('776668becc858274bca8883a9ffc71be48385e85ba1f393a4f4ba70d4acbac5ff8c1a5c233404d81cd34c3ba6da96d6ba97ee5e552278879ca0f877c7cf3a0cc') prepare() { cd $_hkgname-$pkgver @@ -28,7 +27,7 @@ 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 @@ -37,6 +36,11 @@ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh } +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + package() { cd $_hkgname-$pkgver
