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

Felix Yan felixonmars at archlinux.org
Mon May 10 23:11:15 UTC 2021


    Date: Monday, May 10, 2021 @ 23:11:15
  Author: felixonmars
Revision: 929674

upgpkg: haskell-hls-haddock-comments-plugin 1.0.0.1-1

Modified:
  haskell-hls-haddock-comments-plugin/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-10 23:10:42 UTC (rev 929673)
+++ PKGBUILD	2021-05-10 23:11:15 UTC (rev 929674)
@@ -2,8 +2,8 @@
 
 _hkgname=hls-haddock-comments-plugin
 pkgname=haskell-hls-haddock-comments-plugin
-pkgver=1.0.0.0
-pkgrel=32
+pkgver=1.0.0.1
+pkgrel=1
 pkgdesc="Haddock comments plugin for Haskell Language Server"
 url="https://github.com/haskell/haskell-language-server"
 license=("Apache")
@@ -10,14 +10,14 @@
 arch=('x86_64')
 depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-exactprint' 'haskell-ghcide' 'haskell-hls-plugin-api'
          'haskell-lsp-types' 'haskell-unordered-containers')
-makedepends=('ghc' 'uusi')
+makedepends=('ghc' 'uusi' 'haskell-hls-test-utils')
+checkdepends=('git')
 source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz")
-sha256sums=('231ba321483a3bb080cb592498d866e1571224f30318570c2b86c4b6721efeab')
+sha512sums=('b29fa55c05417cdb5fa750642f340799b912480ed1dc5e8387ab214f956f1be724923404d4ba1bcec62fa6faba88a4ea9f465bdcacba526b5b1cc770a605cd35')
 
 prepare() {
   cd $_hkgname-$pkgver
   gen-setup
-  uusi -u ghcide $_hkgname.cabal
 }
 
 build() {
@@ -36,6 +36,11 @@
   sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
 }
 
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
 package() {
   cd $_hkgname-$pkgver
 



More information about the arch-commits mailing list