[arch-commits] Commit in haskell-yesod-core/trunk (PKGBUILD)
Felix Yan
fyan at archlinux.org
Sat Apr 16 04:13:25 UTC 2016
Date: Saturday, April 16, 2016 @ 06:13:25
Author: fyan
Revision: 171150
upgpkg: haskell-yesod-core 1.4.20.1-3
rebuild with fast-logger-2.4.5, persistent-2.5, persistent-sqlite-2.5, persistent-template-2.5, yaml-0.8.17.1, http-client-0.4.28, http-client-tls-0.2.4, http-conduit-2.1.10, shakespeare-2.0.8.1, wai-3.2.1, wai-logger-2.2.6
Modified:
haskell-yesod-core/trunk/PKGBUILD
----------+
PKGBUILD | 24 ++++++++++++++++--------
1 file changed, 16 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-04-16 03:47:38 UTC (rev 171149)
+++ PKGBUILD 2016-04-16 04:13:25 UTC (rev 171150)
@@ -5,7 +5,7 @@
_hkgname=yesod-core
pkgname=haskell-yesod-core
pkgver=1.4.20.1
-pkgrel=2
+pkgrel=3
pkgdesc="Creation of type-safe, RESTful web applications."
url="http://www.yesodweb.com/"
license=("MIT")
@@ -14,13 +14,13 @@
"haskell-blaze-html" "haskell-blaze-markup" "haskell-byteable"
"haskell-case-insensitive" "haskell-cereal" "haskell-clientsession"
"haskell-conduit" "haskell-conduit-extra" "haskell-cookie"
- "haskell-data-default" "haskell-exceptions" "haskell-fast-logger"
- "haskell-http-types" "haskell-lifted-base" "haskell-monad-control"
- "haskell-monad-logger" "haskell-mtl" "haskell-mwc-random"
- "haskell-old-locale" "haskell-parsec" "haskell-path-pieces"
- "haskell-primitive" "haskell-random" "haskell-resourcet" "haskell-safe"
- "haskell-semigroups" "haskell-shakespeare" "haskell-text"
- "haskell-transformers-base" "haskell-unix-compat"
+ "haskell-data-default" "haskell-date-cache" "haskell-exceptions"
+ "haskell-fast-logger" "haskell-http-types" "haskell-lifted-base"
+ "haskell-monad-control" "haskell-monad-logger" "haskell-mtl"
+ "haskell-mwc-random" "haskell-old-locale" "haskell-parsec"
+ "haskell-path-pieces" "haskell-primitive" "haskell-random"
+ "haskell-resourcet" "haskell-safe" "haskell-semigroups" "haskell-shakespeare"
+ "haskell-text" "haskell-transformers-base" "haskell-unix-compat"
"haskell-unordered-containers" "haskell-vector" "haskell-wai"
"haskell-wai-extra" "haskell-wai-logger" "haskell-warp" "haskell-word8")
options=('staticlibs')
@@ -28,6 +28,14 @@
install="${pkgname}.install"
sha256sums=('e742d6cb5b7f65b97f9dbb7e9586ef4cc27169aa7ac7a030119e6c52b69c4f86')
+prepare() {
+ # https://github.com/yesodweb/yesod/issues/1214
+ sed -e 's/Network.Wai.Logger/System.Data.Cache/' \
+ -i ${_hkgname}-${pkgver}/Yesod/Core/Types.hs
+ sed -e '/, data-default/a \, date-cache' \
+ -i ${_hkgname}-${pkgver}/${_hkgname}.cabal
+}
+
build() {
cd "${srcdir}/${_hkgname}-${pkgver}"
More information about the arch-commits
mailing list