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

Felix Yan felixonmars at archlinux.org
Thu Jul 30 20:52:09 UTC 2020


    Date: Thursday, July 30, 2020 @ 20:52:08
  Author: felixonmars
Revision: 665995

upgpkg: idris 1.3.3-30: add a patch for haskeline 0.8

Modified:
  idris/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-30 20:52:01 UTC (rev 665994)
+++ PKGBUILD	2020-07-30 20:52:08 UTC (rev 665995)
@@ -3,7 +3,7 @@
 
 pkgname=idris
 pkgver=1.3.3
-pkgrel=29
+pkgrel=30
 pkgdesc="Functional Programming Language with Dependent Types"
 url="https://www.idris-lang.org/"
 license=("BSD")
@@ -11,7 +11,7 @@
 depends=('ghc-libs' 'haskell-aeson' 'haskell-annotated-wl-pprint' 'haskell-ansi-terminal'
          'haskell-ansi-wl-pprint' 'haskell-async' 'haskell-base64-bytestring' 'haskell-blaze-html'
          'haskell-blaze-markup' 'haskell-cheapskate' 'haskell-code-page' 'haskell-fingertree'
-         'haskell-fsnotify' 'haskell-haskeline0.7' 'haskell-ieee754' 'haskell-libffi' 'haskell-megaparsec'
+         'haskell-fsnotify' 'haskell-ieee754' 'haskell-libffi' 'haskell-megaparsec'
          'haskell-network' 'haskell-optparse-applicative' 'haskell-parser-combinators'
          'haskell-regex-tdfa' 'haskell-safe' 'haskell-split' 'haskell-terminal-size'
          'haskell-uniplate' 'haskell-unordered-containers' 'haskell-utf8-string' 'haskell-vector'
@@ -18,14 +18,17 @@
          'haskell-vector-binary-instances' 'haskell-zip-archive')
 makedepends=('ghc' 'haskell-tagged' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-rerun'
              'nodejs')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/idris-lang/Idris-dev/archive/v$pkgver.tar.gz")
-sha512sums=('fc5c65847c8021ed691c7968043a04fcffaed3a44a6339f611fed616fddefa1b5bc2da8e7e6662dfa552981688a1c96571eadc197e4e50ba060de3c6ddbd03de')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/idris-lang/Idris-dev/archive/v$pkgver.tar.gz"
+        idris-haskeline-0.8.patch::https://github.com/idris-lang/Idris-dev/pull/4871.patch)
+sha512sums=('fc5c65847c8021ed691c7968043a04fcffaed3a44a6339f611fed616fddefa1b5bc2da8e7e6662dfa552981688a1c96571eadc197e4e50ba060de3c6ddbd03de'
+            '5f2efe359d5626c44f0c146f108dae4635ae2c8babf53841d5147d17d5be2460ab19a0b952492c68c93fa6470989bcf396cd7fbf6c8d44ac77792a54c3bbb141')
 
 prepare() {
     cd Idris-dev-$pkgver
+    patch -p1 -i ../idris-haskeline-0.8.patch
     sed -i '1ioverride IDRIS := env LD_PRELOAD=$(shell ls ../../dist/build/libHSidris-*-ghc*.so) $(IDRIS)' \
         libs/*/Makefile
-    sed -i -e 's/< *1.5/<2/;s/haskeline >= 0.7$/haskeline >= 0.7 \&\& < 0.8/' idris.cabal
+    sed -i -e 's/< *1.5/<2/' idris.cabal
 }
 
 build() {



More information about the arch-commits mailing list