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

Felix Yan felixonmars at archlinux.org
Wed Apr 1 13:07:26 UTC 2020


    Date: Wednesday, April 1, 2020 @ 13:07:26
  Author: felixonmars
Revision: 608896

upgpkg: haskell-aeson 1.4.7.1-4: rebuild with QuickCheck 2.14

Modified:
  haskell-aeson/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-01 13:01:46 UTC (rev 608895)
+++ PKGBUILD	2020-04-01 13:07:26 UTC (rev 608896)
@@ -5,7 +5,7 @@
 pkgname=haskell-aeson
 _hkgname=aeson
 pkgver=1.4.7.1
-pkgrel=3
+pkgrel=4
 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=('236ed1b2cc4b39d49277cea5b787b6107c7efbe1c0d73de2005d400746bacf44c6b8ef5d26619395e24844f8948115685963ec7d03a998d0b728ab992e32e705')
 
+prepare() {
+    cd $_hkgname-$pkgver
+    sed -i 's/< *2.14/<3/' $_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