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

Felix Yan felixonmars at archlinux.org
Mon May 25 10:02:40 UTC 2020


    Date: Monday, May 25, 2020 @ 10:02:40
  Author: felixonmars
Revision: 634096

upgpkg: haskell-cborg 0.2.3.0-4: rebuild with aeson 1.5.0.0

Modified:
  haskell-cborg/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-25 09:59:26 UTC (rev 634095)
+++ PKGBUILD	2020-05-25 10:02:40 UTC (rev 634096)
@@ -3,7 +3,7 @@
 _hkgname=cborg
 pkgname=haskell-cborg
 pkgver=0.2.3.0
-pkgrel=3
+pkgrel=4
 pkgdesc="Concise Binary Object Representation (CBOR)"
 url="https://github.com/well-typed/cborg"
 license=('BSD')
@@ -15,6 +15,11 @@
 source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
 sha512sums=('43502fad8a880bee1a068e86336fbea283f8183befa3e838c0a708489efa70a99f33e3b04fd576a552a8f77f8cc56e5b912f686bc414cc947a07b65ec10a6cbf')
 
+prepare() {
+    cd $_hkgname-$pkgver
+    sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
 build() {
     cd $_hkgname-$pkgver
 



More information about the arch-commits mailing list