[arch-commits] Commit in haskell-hls-splice-plugin/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Mon May 10 23:12:20 UTC 2021


    Date: Monday, May 10, 2021 @ 23:12:20
  Author: felixonmars
Revision: 929678

upgpkg: haskell-hls-splice-plugin 1.0.0.1-1

Modified:
  haskell-hls-splice-plugin/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-10 23:11:40 UTC (rev 929677)
+++ PKGBUILD	2021-05-10 23:12:20 UTC (rev 929678)
@@ -2,8 +2,8 @@
 
 _hkgname=hls-splice-plugin
 pkgname=haskell-hls-splice-plugin
-pkgver=1.0.0.0
-pkgrel=35
+pkgver=1.0.0.1
+pkgrel=1
 pkgdesc="HLS Plugin to expand TemplateHaskell Splices and QuasiQuotes"
 url="https://hackage.haskell.org/package/hls-splice-plugin"
 license=("Apache")
@@ -12,14 +12,13 @@
          'haskell-ghc-exactprint' 'haskell-ghcide' 'haskell-hls-plugin-api' 'haskell-lens'
          'haskell-lsp' 'haskell-retrie' 'haskell-shake' 'haskell-syb' 'haskell-unliftio-core'
          'haskell-unordered-containers')
-makedepends=('ghc' 'uusi')
+makedepends=('ghc' 'uusi' 'haskell-hls-test-utils')
 source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz")
-sha256sums=('4bdec8dcc5cdc32e4786030cebe1170ba12d2378a5bd8016b12ea1474c94a9f6')
+sha512sums=('6efd1df111398273aa4cfbc269381d84f0844d06e881f8491e1aaf1b40b16eb8aec30ac336ba0b673e00e6ed23a391774c0da6073181795577c5e4f9004ff2f5')
 
 prepare() {
   cd $_hkgname-$pkgver
   gen-setup
-  uusi -u ghcide $_hkgname.cabal
 }
 
 build() {
@@ -38,6 +37,12 @@
   sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
 }
 
+check() {
+  cd $_hkgname-$pkgver
+  # https://github.com/haskell/haskell-language-server/issues/1808
+  runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
 package() {
   cd $_hkgname-$pkgver
 



More information about the arch-commits mailing list