[arch-commits] Commit in haskell-aeson/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sun Mar 8 19:08:06 UTC 2020


    Date: Sunday, March 8, 2020 @ 19:08:06
  Author: felixonmars
Revision: 592357

upgpkg: haskell-aeson 1.4.6.0-23: rebuild with generic-deriving 1.13

Modified:
  haskell-aeson/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-08 19:00:01 UTC (rev 592356)
+++ PKGBUILD	2020-03-08 19:08:06 UTC (rev 592357)
@@ -5,7 +5,7 @@
 pkgname=haskell-aeson
 _hkgname=aeson
 pkgver=1.4.6.0
-pkgrel=22
+pkgrel=23
 pkgdesc="A JSON parsing and encoding library optimized for ease of use and high performance."
 url="https://github.com/bos/aeson"
 license=("GPL")
@@ -22,6 +22,11 @@
 source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-${pkgver}.tar.gz")
 sha512sums=('b6fecd4cb75d0c296a1b4583c32cc57e6eb70248999bf16b83ecbb80b03b0656b7cfb410a2b1ae0005e2a4b6202c7aa227c6165d660fefbd270fd4ade8bd8ca6')
 
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i 's/< *1.13/<2/' $_hkgname.cabal
+}
+
 build() {
   cd $_hkgname-$pkgver
   runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \



More information about the arch-commits mailing list