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

Felix Yan felixonmars at archlinux.org
Mon Jun 14 11:59:58 UTC 2021


    Date: Monday, June 14, 2021 @ 11:59:58
  Author: felixonmars
Revision: 963428

upgpkg: haskell-ghcide 1.4.0.1-1

Modified:
  haskell-ghcide/trunk/PKGBUILD

----------+
 PKGBUILD |   36 +++++++++++++++++-------------------
 1 file changed, 17 insertions(+), 19 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-06-14 11:28:28 UTC (rev 963427)
+++ PKGBUILD	2021-06-14 11:59:58 UTC (rev 963428)
@@ -2,8 +2,8 @@
 
 _hkgname=ghcide
 pkgname=haskell-ghcide
-pkgver=1.2.0.2
-pkgrel=22
+pkgver=1.4.0.1
+pkgrel=1
 pkgdesc="The core of an IDE"
 url="https://github.com/haskell/haskell-language-server/tree/master/ghcide#readme"
 license=("Apache")
@@ -12,15 +12,15 @@
          'haskell-async' 'haskell-base16-bytestring' 'haskell-bytestring-encoding'
          'haskell-case-insensitive' 'haskell-cryptohash-sha1' 'haskell-data-default'
          'haskell-dependent-map' 'haskell-dependent-sum' 'haskell-dlist' 'haskell-extra'
-         'haskell-fingertree' 'haskell-fuzzy' 'haskell-ghc' 'haskell-ghc-check'
-         'haskell-ghc-exactprint' 'haskell-ghc-paths' 'haskell-ghc-trace-events' 'haskell-gitrev'
-         'haskell-haddock-library' 'haskell-hashable' 'haskell-heapsize' 'haskell-hie-bios'
-         'haskell-hie-compat' 'haskell-hiedb' 'haskell-hls-plugin-api' 'haskell-hslogger'
-         'haskell-implicit-hie-cradle' 'haskell-lens' 'haskell-lsp' 'haskell-lsp-test'
-         'haskell-lsp-types' 'haskell-network-uri' 'haskell-opentelemetry'
-         'haskell-optparse-applicative' 'haskell-parallel' 'haskell-prettyprinter'
-         'haskell-prettyprinter-ansi-terminal' 'haskell-regex-tdfa' 'haskell-retrie'
-         'haskell-rope-utf16-splay' 'haskell-safe' 'haskell-safe-exceptions' 'haskell-shake'
+         'haskell-fingertree' 'haskell-fuzzy' 'haskell-ghc' 'haskell-ghc-api-compat'
+         'haskell-ghc-check' 'haskell-ghc-exactprint' 'haskell-ghc-paths' 'haskell-ghc-trace-events'
+         'haskell-gitrev' 'haskell-haddock-library' 'haskell-hashable' 'haskell-heapsize'
+         'haskell-hie-bios' 'haskell-hie-compat' 'haskell-hiedb' 'haskell-hls-graph'
+         'haskell-hls-plugin-api' 'haskell-hslogger' 'haskell-implicit-hie-cradle' 'haskell-lens'
+         'haskell-lsp' 'haskell-lsp-test' 'haskell-lsp-types' 'haskell-network-uri'
+         'haskell-opentelemetry' 'haskell-optparse-applicative' 'haskell-parallel'
+         'haskell-prettyprinter' 'haskell-prettyprinter-ansi-terminal' 'haskell-regex-tdfa'
+         'haskell-retrie' 'haskell-rope-utf16-splay' 'haskell-safe' 'haskell-safe-exceptions'
          'haskell-sorted-list' 'haskell-sqlite-simple' 'haskell-syb' 'haskell-unliftio'
          'haskell-unliftio-core' 'haskell-unordered-containers' 'haskell-utf8-string'
          'haskell-vector')
@@ -29,13 +29,11 @@
              'haskell-record-hasfield' 'haskell-tasty' 'haskell-tasty-expected-failure'
              'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 'haskell-tasty-rerun')
 checkdepends=('cabal-install')
-# Hackage tarball is missing test data
-#source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz")
-source=("https://github.com/haskell/haskell-language-server/archive/$_hkgname-v$pkgver.tar.gz")
-sha512sums=('cdb58f3e511da37d2b7587c332f1e5bd420de99ec7fc0b5ea2eb0ba7e8fec4ec8b3854e33f2a8358b560149258abe7c1781d65a66fd21a1b40c9fbf82d159a75')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz")
+sha512sums=('d25e06abf1ff8bd7cc25799fb77774a02c5dd23a09e97f4ee92170834dc3c3e297312302f202d31416aa5caf2c230fe0f9990e8e4369fccceedd2108821ab252')
 
 prepare() {
-  cd haskell-language-server-$_hkgname-v$pkgver/$_hkgname
+  cd $_hkgname-$pkgver
   gen-setup
   find test/data -name \*.cabal -exec uusi --add-options-all=-dynamic {} \;
 
@@ -44,7 +42,7 @@
 }
 
 build() {
-  cd haskell-language-server-$_hkgname-v$pkgver/$_hkgname
+  cd $_hkgname-$pkgver
 
   runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
     --prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
@@ -60,7 +58,7 @@
 }
 
 check() {
-  cd haskell-language-server-$_hkgname-v$pkgver/$_hkgname
+  cd $_hkgname-$pkgver
   cabal update
   # Random test failures "Received an illegal message between the initialize request and response"
   # th-linking-test-unboxed always fails too
@@ -68,7 +66,7 @@
 }
 
 package() {
-  cd haskell-language-server-$_hkgname-v$pkgver/$_hkgname
+  cd $_hkgname-$pkgver
 
   install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
   install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh



More information about the arch-commits mailing list