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

Felix Yan felixonmars at archlinux.org
Tue Oct 6 08:35:10 UTC 2020


    Date: Tuesday, October 6, 2020 @ 08:35:09
  Author: felixonmars
Revision: 719304

upgpkg: haskell-lsp-test 0.11.0.6-10: rebuild with haskell-lsp 0.23.0.0, haskell-lsp-types 0.23.0.0

Modified:
  haskell-lsp-test/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-10-06 08:28:03 UTC (rev 719303)
+++ PKGBUILD	2020-10-06 08:35:09 UTC (rev 719304)
@@ -3,7 +3,7 @@
 _hkgname=lsp-test
 pkgname=haskell-lsp-test
 pkgver=0.11.0.6
-pkgrel=9
+pkgrel=10
 pkgdesc="Functional test framework for LSP servers"
 url="https://github.com/bubba/lsp-test#readme"
 license=("BSD")
@@ -14,12 +14,15 @@
          'haskell-unordered-containers')
 makedepends=('ghc' 'haskell-hspec')
 # Hackage source is missing test data
-source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('7a166a68c39ac7bbc47051f3803b39cb058b34bccdcf42c5b8722571e866658e59f22bfa5783614962195c85da90184b200f41da373a97870e1abff1acbdb8a6')
+source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz"
+        lsp-0.23.patch::https://github.com/bubba/lsp-test/commit/82b289c0c28f425f2bdce9c209e927d9595585ee.patch)
+sha512sums=('7a166a68c39ac7bbc47051f3803b39cb058b34bccdcf42c5b8722571e866658e59f22bfa5783614962195c85da90184b200f41da373a97870e1abff1acbdb8a6'
+            'c8afd75cf7d333ce03b2b445bd28dbbc300567523c41bda4f1a903f109f8ffbf3235b8008c337d0caae3dfbab9595b08db0299765e55118f781576a04da01195')
 
 prepare() {
   cd $_hkgname-$pkgver
   echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+  patch -p1 -i ../lsp-0.23.patch
   
   sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs
 }



More information about the arch-commits mailing list