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

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


    Date: Monday, May 25, 2020 @ 10:29:09
  Author: felixonmars
Revision: 634124

upgpkg: haskell-lens-aeson 1.1-34: rebuild with aeson 1.5.0.0

Modified:
  haskell-lens-aeson/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-25 10:28:14 UTC (rev 634123)
+++ PKGBUILD	2020-05-25 10:29:09 UTC (rev 634124)
@@ -3,7 +3,7 @@
 _hkgname=lens-aeson
 pkgname=haskell-lens-aeson
 pkgver=1.1
-pkgrel=33
+pkgrel=34
 pkgdesc="Law-abiding lenses for aeson"
 url="https://github.com/lens/lens-aeson/"
 license=('MIT')
@@ -14,6 +14,11 @@
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha512sums=('a5e1b98cc50342ddbaf36a9c6f7a87cdfd8e8abb66852777ef8fc3362a3cb7bac473c3dfd7a4ad2f57f3318c5dca6ec7a07e2a4eae05bdcc34308d188d791460')
 
+prepare() {
+    cd $_hkgname-$pkgver
+    sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
 build() {
     cd $_hkgname-$pkgver
 



More information about the arch-commits mailing list