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

Felix Yan felixonmars at archlinux.org
Sat Mar 21 06:39:20 UTC 2020


    Date: Saturday, March 21, 2020 @ 06:39:20
  Author: felixonmars
Revision: 602285

upgpkg: haskell-src-meta 0.8.5-3: rebuild with haskell-src-exts 1.23.0

Modified:
  haskell-src-meta/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-21 06:36:59 UTC (rev 602284)
+++ PKGBUILD	2020-03-21 06:39:20 UTC (rev 602285)
@@ -4,7 +4,7 @@
 _hkgname=haskell-src-meta
 pkgname=haskell-src-meta
 pkgver=0.8.5
-pkgrel=2
+pkgrel=3
 pkgdesc="Parse source to template-haskell abstract syntax"
 url="https://github.com/bmillwood/haskell-src-meta"
 license=("BSD")
@@ -14,6 +14,11 @@
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha512sums=('873a797f53fc30dbb51b719228bc649f47d1c3432380a82b5dca11574b432676ed29d297c7547f1d752bb1c977c8858e55fb5135ffb58146b938d02414fe6723')
 
+prepare() {
+    cd $_hkgname-$pkgver
+    sed -i 's/< *1.23/<2/' $_hkgname.cabal
+}
+
 build() {
     cd $_hkgname-$pkgver
     



More information about the arch-commits mailing list