Date: Thursday, September 29, 2022 @ 15:07:54
  Author: felixonmars
Revision: 1316290

upgpkg: haskell-wreq 0.5.3.3-261: rebuild with aeson 2.0.3.0, aeson-diff 
1.1.0.11, bower-json 1.1.0.0, http2 3.0.3, hoauth2 2.1.0, jose 0.9, 
microlens-aeson 2.4.0, postgresql-binary 0.12.5, postgrest 10.0.0, req 3.10.0, 
swagger2 2.8.1

Modified:
  haskell-wreq/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-09-29 15:07:06 UTC (rev 1316289)
+++ PKGBUILD    2022-09-29 15:07:54 UTC (rev 1316290)
@@ -3,7 +3,7 @@
 _hkgname=wreq
 pkgname=haskell-wreq
 pkgver=0.5.3.3
-pkgrel=260
+pkgrel=261
 pkgdesc="An easy-to-use HTTP client library."
 url="https://github.com/bos/wreq";
 license=('BSD')
@@ -21,6 +21,13 @@
 
source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
 
sha512sums=('f074790cf3370d9356efbf5aeabb7421d59299471e02d93010453bb6f4e8daee517fcdf6891245272a9b08a35bc7b1b2233b75825ec377f6403c99cf91041f2e')
 
+prepare() {
+    cd $_hkgname-$pkgver
+    sed -e '/import Data.Aeson.Encode/a import Data.Aeson.Key (fromText)' \
+        -e 's/decodeUtf8 (cookieName c)/fromText(decodeUtf8 (cookieName c))/' \
+        -i httpbin/HttpBin/Server.hs
+}
+
 build() {
     cd $_hkgname-$pkgver
     

Reply via email to